Skip to content

Commit 6ef81f0

Browse files
committed
Exploring Cypress selectors for failing table test
1 parent 523c156 commit 6ef81f0

File tree

1 file changed

+3
-2
lines changed
  • frontend/cypress/e2e/block-production/won-slots

1 file changed

+3
-2
lines changed

frontend/cypress/e2e/block-production/won-slots/table.cy.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const execute = (callback: () => void) => {
1717
.url()
1818
.then((url: string) => {
1919
if (url.includes('/block-production/won-slots')) {
20+
cy.task('log', 'We have response from stats request');
2021
callback();
2122
}
2223
});
@@ -52,9 +53,9 @@ describe('BLOCK PRODUCTION WON SLOTS TABLE', () => {
5253
.then(getBPWonSlots)
5354
.then((state: BlockProductionWonSlotsState) => {
5455
if (state && state.slots) {
55-
cy.task(state.slots.length.toString());
56+
cy.task('log', state.slots.length.toString());
5657
}
57-
cy.task(condition(state).toString());
58+
cy.task('log', condition(state).toString());
5859
// This WILL show in CI logs
5960
cy.task('log', '🔍 Starting table structure debug...');
6061

0 commit comments

Comments
 (0)