-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Added Cypress Market e2e Tests): Using the Cypress API to find bu…
…ild request bid button.
- Loading branch information
1 parent
b029b23
commit af94ca6
Showing
2 changed files
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
context('Market', () => { | ||
beforeEach(() => { | ||
cy.visit('http://localhost:3000'); | ||
}); | ||
|
||
it('get the first build request summary', () => { | ||
cy.wait(100); | ||
cy.contains('Build Request'); | ||
}); | ||
|
||
it('bid on first build request summary', () => { | ||
// Act | ||
cy.wait(100); | ||
cy.contains('Build Request').parent().find('button').click(); | ||
cy.wait(100); | ||
}); | ||
|
||
}); |