Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCT-1506 Enable earn.cy.ts lock 1000 GLM scenario #105

Merged
merged 29 commits into from
Mar 30, 2024
Merged
Changes from 3 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
f66052d
test: wait for DoubleValueSkeleton to disappear
aziolek Mar 28, 2024
b303c31
test: increase timeout to 60 seconds
aziolek Mar 28, 2024
6d03c11
fix: typo
aziolek Mar 28, 2024
fcf45e9
Merge branch 'develop' into fix/earn-cypress-wait-for-skeleton-to-dis…
aziolek Mar 28, 2024
614dbdd
test: assert not.exist
aziolek Mar 28, 2024
816259c
test: retry 0
aziolek Mar 28, 2024
27119f2
test: adjustment
aziolek Mar 28, 2024
a31f4f9
test: adjustment
aziolek Mar 28, 2024
b2aca15
Merge branch 'develop' into fix/earn-cypress-wait-for-skeleton-to-dis…
aziolek Mar 28, 2024
d2cc004
Merge branch 'develop' into fix/earn-cypress-wait-for-skeleton-to-dis…
aziolek Mar 28, 2024
7c776fe
Merge branch 'develop' into fix/earn-cypress-wait-for-skeleton-to-dis…
aziolek Mar 28, 2024
e6d2fc1
style: restor rest of tests, specify skeleton check
aziolek Mar 28, 2024
3147d3a
style: formatting
aziolek Mar 28, 2024
78bae6a
test: skeleton should appear immediately
aziolek Mar 28, 2024
9d875a1
test: skeleton should appear immediately
aziolek Mar 28, 2024
ed415d3
style: simplify moveEpoc
aziolek Mar 28, 2024
bded9e0
Merge branch 'develop' into fix/earn-cypress-wait-for-skeleton-to-dis…
aziolek Mar 29, 2024
d5d52a1
Merge branch 'develop' into fix/earn-cypress-wait-for-skeleton-to-dis…
aziolek Mar 29, 2024
b5f221f
feat: move epoch by an util
aziolek Mar 29, 2024
73aaeeb
test: enforce wait fro skeleton to disappear
aziolek Mar 29, 2024
f03f250
test: enforce wait fro skeleton to disappear
aziolek Mar 29, 2024
626686e
test: adjustments
aziolek Mar 29, 2024
f059b00
test: adjustments
aziolek Mar 29, 2024
0a68f08
test: adjustments
aziolek Mar 29, 2024
0b48935
Merge branch 'develop' into fix/earn-cypress-wait-for-skeleton-to-dis…
aziolek Mar 29, 2024
78c4250
merge: w/ develop
aziolek Mar 29, 2024
ee26e0a
test: moveEpoch makes finalized snapshot too
aziolek Mar 30, 2024
0dd7123
test: moveEpoch makes finalized snapshot too
aziolek Mar 30, 2024
d7272bd
test: additional checks and reloads after snapshot
aziolek Mar 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions client/cypress/e2e/earn.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ Object.values(viewports).forEach(({ device, viewportWidth, viewportHeight, isDes
cy.get('[data-test=GlmLockNotification--success]').should('be.visible');
cy.get('[data-test=GlmLockTabs__Button]').click();
cy.window().then(async win => {
// Waiting for skeletons to disappear ensures Graph indexed lock/unlock.
cy.get('[data-test^=DoubleValueSkeleton]', { timeout: 60000 }).should('not.be.visible');
await moveEpoch(win);
cy.get('[data-test=BoxGlmLock__Section--current__DoubleValue__primary]', {
timeout: 60000,
Expand Down
Loading