Skip to content

Commit

Permalink
Add transaction payment test
Browse files Browse the repository at this point in the history
  • Loading branch information
pstakoun committed Jan 16, 2024
1 parent c3ab5c9 commit a4db667
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cypress/tests/ui/new-transaction.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type NewTransactionTestCtx = {
contact?: User;
};

describe.skip("New Transaction", function () {
describe("New Transaction", function () {
const ctx: NewTransactionTestCtx = {};

beforeEach(function () {
Expand Down Expand Up @@ -88,7 +88,7 @@ describe.skip("New Transaction", function () {
cy.visualSnapshot("Personal List Validate Transaction in List");
});

it("navigates to the new transaction form, selects a user and submits a transaction request", function () {
it.skip("navigates to the new transaction form, selects a user and submits a transaction request", function () {
const request = {
amount: "95",
description: "Fancy Hotel 🏨",
Expand Down Expand Up @@ -117,7 +117,7 @@ describe.skip("New Transaction", function () {
cy.visualSnapshot("Transaction Item Description in List");
});

it("displays new transaction errors", function () {
it.skip("displays new transaction errors", function () {
cy.getBySelLike("new-transaction").click();
cy.wait("@allUsers");

Expand All @@ -138,7 +138,7 @@ describe.skip("New Transaction", function () {
cy.visualSnapshot("New Transaction Errors with Submit Payment/Request Buttons Disabled");
});

it("submits a transaction payment and verifies the deposit for the receiver", function () {
it.skip("submits a transaction payment and verifies the deposit for the receiver", function () {
cy.getBySel("nav-top-new-transaction").click();

const transactionPayload = {
Expand Down Expand Up @@ -191,7 +191,7 @@ describe.skip("New Transaction", function () {
cy.visualSnapshot("Verify Updated Sender Account Balance");
});

it("submits a transaction request and accepts the request for the receiver", function () {
it.skip("submits a transaction request and accepts the request for the receiver", function () {
const transactionPayload = {
transactionType: "request",
amount: 100,
Expand Down Expand Up @@ -242,7 +242,7 @@ describe.skip("New Transaction", function () {
cy.visualSnapshot("Verify Updated Sender Account Balance");
});

context("searches for a user by attribute", function () {
context.skip("searches for a user by attribute", function () {
const searchAttrs: (keyof User)[] = [
"firstName",
"lastName",
Expand Down

0 comments on commit a4db667

Please sign in to comment.