Skip to content

Commit

Permalink
Add timestampEnabled test and add test command to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mikikiv committed Dec 11, 2023
1 parent ba7ee88 commit 74d12be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cypress/e2e/aliasedEmail.cy.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
describe("template spec", () => {
describe("aliased emails", () => {
const email = "idxqamv@gmail.com"
const aliasedEmail = "idxqamv+SugarFire@gmail.com"

it("passes", () => {
it("stores expected data", () => {
cy.visit("/")
cy.get('input[type="email"]').type(email)
cy.get('input[type="alias"]').type("Sugar Fire{enter}")
Expand All @@ -14,7 +14,8 @@ describe("template spec", () => {
"email",
"aliases",
"copyHistory",
"selectedAlias"
"selectedAlias",
"timestampEnabled"
)
})
cy.get(`[data-cy="${aliasedEmail}"]`).should("exist")
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"test": "cypress run",
"vercel-build": "next build",
"build:extension": "extensionReqs/build.sh"
},
Expand Down

1 comment on commit 74d12be

@vercel
Copy link

@vercel vercel bot commented on 74d12be Dec 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.