Skip to content
This repository was archived by the owner on Apr 9, 2021. It is now read-only.

Commit 5a649bc

Browse files
committed
wait for results before trying to filter
1 parent 31c0cab commit 5a649bc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

cypress/e2e/navigation.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ describe('Spotlight', () => {
2929
});
3030

3131
it('filters domains based on user input', () => {
32+
cy.findByTestId('report-table');
3233
cy.get('input#domain').type('18f.gsa');
3334
cy.findByTestId('report-table').find('tr').should('have.length', 1);
3435
});

cypress/fixtures/example.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "Using fixtures to represent data",
3+
"email": "hello@cypress.io",
4+
"body": "Fixtures are a great way to mock data for responses to routes"
5+
}

0 commit comments

Comments
 (0)