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

change #14

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: "UI Tests - Chrome"
uses: cypress-io/github-action@v4
with:
# command-prefix: 'percy exec -- npx'
command-prefix: 'percy exec -- npx'
start: yarn start:ci
wait-on: "http://localhost:3000"
wait-on-timeout: 120
Expand Down
3 changes: 1 addition & 2 deletions cypress/tests/ui/new-transaction.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,13 @@ describe("New Transaction", function () {
.should("be.visible")
.and("contain", "Please enter a valid amount");

cy.visualSnapshot("New Transaction Errors with Submit Payment/Request Buttons Disabled");
cy.getBySelLike("description-input").type("Fun").find("input").clear().blur();
cy.get("#transaction-create-description-input-helper-text")
.should("be.visible")
.and("contain", "Please enter a note");

cy.getBySelLike("submit-request").should("be.disabled");
cy.getBySelLike("submit-payment").should("be.disabled");
cy.visualSnapshot("New Transaction Errors with Submit Payment/Request Buttons Disabled");
});

it("submits a transaction payment and verifies the deposit for the receiver", function () {
Expand Down