0.0.43 • Published 8 months ago

@digy4/digyrunner-cypress v0.0.43

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

digyrunner-cypress

DigyRunner for Cypress

Steps to integrate

  • Install this module

    npm install @digy4/digyrunner-cypress

  • Changes to cypress config, cypress.config.js

    • Include the module

      const { DigyRunner } = require("@digy4/digyrunner-cypress");

    • Define the following configurations

      videosFolder: "cypress/videos",
      video: true,
      screenshotOnRunFailure: false,
      digyRunnerConfig: {
      PROTOCOL: "http",
      HOSTNAME: "localhost",
      PROJECT_NAME: "Digy4TestProject",
      TEAM_NAME: "TeamCypress1",
      BUILD_ID: "",
      SUITE_NAME: "Regression",
      APP_VERSION: "2.0",
      ENVIRONMENT: "test",
      FRAMEWORK: "cypress", // don't change
      MODULE_NAME: "SomeModuleName",
      TESTER: "Joe Bloggs",
      BA: "Joe Bloggs",
      DEVELOPER: "Joe Bloggs",
      RESULTS_SUMMARY_URL: ``,
      RESULTS_URL: ``,
      CLIENT_ID: ``,
      CLIENT_SECRET: ``,
      PROJECT_PLAN_URL: ``,
      LOGS_UPLOAD_BASE_URL: ``,
      TAGS: "",
      filterSpecs: true,
      omitFiltered: true,
      },
    • Register DigyRunner in setupNodeEvents(on, config)

      await DigyRunner.setup(on, config);

  • Add .env file with the following entries

    RESULTS_SUMMARY_URL=<RESULTS_SUMMARY_URL>
    
    RESULTS_URL=<RESULTS_URL>
    
    CLIENT_ID=<DIGY4_CLIENT_ID>
    
    CLIENT_SECRET=<DIGY4_CLIENT_SECRET>
    
    PROJECT_PLAN_URL=<PROJECT_PLAN_URL>
    
    LOGS_UPLOAD_BASE_URL=<LOGS_UPLOAD_BASE_URL>
  • Redirect the output to terminal_log.txt file

    npm run cy:chrome 2>&1 | tee ./cypress/logs/terminal_log.txt
0.0.40

8 months ago

0.0.41

8 months ago

0.0.42

8 months ago

0.0.20

9 months ago

0.0.43

8 months ago

0.0.21

9 months ago

0.0.22

9 months ago

0.0.23

9 months ago

0.0.24

9 months ago

0.0.25

9 months ago

0.0.37

8 months ago

0.0.38

8 months ago

0.0.39

8 months ago

0.0.19

9 months ago

0.0.30

8 months ago

0.0.31

8 months ago

0.0.32

8 months ago

0.0.33

8 months ago

0.0.34

8 months ago

0.0.35

8 months ago

0.0.36

8 months ago

0.0.26

9 months ago

0.0.27

9 months ago

0.0.28

9 months ago

0.0.29

8 months ago

0.0.18

11 months ago

0.0.17

11 months ago

0.0.16

11 months ago

0.0.15

11 months ago

0.0.14

11 months ago

0.0.13

11 months ago

0.0.12

11 months ago

0.0.11

11 months ago

0.0.10

12 months ago

0.0.9

12 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago