Skip to content

Commit f3f3418

Browse files
author
jackmahoney
committed
add-cypress
1 parent a69c5a0 commit f3f3418

File tree

8 files changed

+363
-518
lines changed

8 files changed

+363
-518
lines changed

javascript-cypress-js/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
node_modules
22
cypress
3-
!cypress/integration
3+
!cypress/e2e
44
!cypress/support
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
const { defineConfig } = require('cypress')
2+
3+
module.exports = defineConfig({
4+
defaultCommandTimeout: 30000,
5+
requestTimeout: 30000,
6+
viewportHeight: 800,
7+
viewportWidth: 800,
8+
videoCompression: false,
9+
e2e: {
10+
setupNodeEvents(on, config) {},
11+
},
12+
})

javascript-cypress-js/cypress.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

javascript-cypress-js/cypress/integration/example.spec.js

Lines changed: 0 additions & 73 deletions
This file was deleted.

javascript-cypress-js/cypress/support/commands.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//<gen>cypress_client_add_command
12
const { MailSlurp } = require('mailslurp-client');
23
// set your api key with an environment variable CYPRESS_API_KEY
34
// (cypress prefixes environment variables with CYPRESS)
@@ -11,3 +12,4 @@ Cypress.Commands.add("createInbox", () => {
1112
Cypress.Commands.add("waitForLatestEmail", (inboxId) => {
1213
return mailslurp.waitForLatestEmail(inboxId)
1314
});
15+
//</gen>

javascript-cypress-js/cypress/support/index.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)