Skip to content

Commit 333cc99

Browse files
committed
Remove interactions for demo
1 parent 6319feb commit 333cc99

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

cypress/tests/ui/new-transaction.spec.ts

-17
Original file line numberDiff line numberDiff line change
@@ -69,23 +69,6 @@ describe("New Transaction", function () {
6969

7070
cy.getBySelLike("user-balance").should("contain", updatedAccountBalance);
7171
cy.visualSnapshot("Updated User Balance");
72-
73-
if (isMobile()) {
74-
cy.get(".MuiBackdrop-root").click({ force: true });
75-
}
76-
77-
cy.getBySelLike("create-another-transaction").click();
78-
cy.getBySel("app-name-logo").find("a").click();
79-
cy.getBySelLike("personal-tab").click().should("have.class", "Mui-selected");
80-
cy.wait("@personalTransactions");
81-
82-
cy.getBySel("transaction-list").first().should("contain", payment.description);
83-
84-
cy.database("find", "users", { id: ctx.contact!.id })
85-
.its("balance")
86-
.should("equal", ctx.contact!.balance + parseInt(payment.amount) * 100);
87-
cy.getBySel("alert-bar-success").should("not.exist");
88-
cy.visualSnapshot("Personal List Validate Transaction in List");
8972
});
9073

9174
it("displays new transaction errors", function () {

cypress/tests/ui/transaction-feeds.spec.ts

-11
Original file line numberDiff line numberDiff line change
@@ -216,17 +216,6 @@ describe("Transaction Feed", function () {
216216
});
217217

218218
describe("filters transaction feeds by date range", function () {
219-
if (isMobile()) {
220-
it("closes date range picker modal", () => {
221-
cy.getBySelLike("filter-date-range-button").click({ force: true });
222-
cy.get(".Cal__Header__root").should("be.visible");
223-
cy.visualSnapshot("Mobile Open Date Range Picker");
224-
cy.getBySel("date-range-filter-drawer-close").click();
225-
cy.get(".Cal__Header__root").should("not.exist");
226-
cy.visualSnapshot("Mobile Close Date Range Picker");
227-
});
228-
}
229-
230219
_.each(feedViews, (feed, feedName) => {
231220
it(`filters ${feedName} transaction feed by date range`, function () {
232221
cy.database("find", "transactions").then((transaction: Transaction) => {

0 commit comments

Comments
 (0)