Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
<app_base_dir>
    /teststest
      /data
        /content_1.ecar
        /config.json // This file contains data to be passed to the test cases
      /pages
        /Page.ts  // This is base page for factory implementation
        /OnboadingPage.ts
        /ContentDownloadPage.ts
        /ContentImportPage.ts
        /ContentDeletePage.ts
        /ContentPlayPage.ts
        /TelemetryPage.ts
     /specs
         /OnboadingPage.test.ts
         /ContentDownloadPage.test.ts
         /ContentImportPage.test.ts
         /ContentDeletePage.test.ts
         /ContentPlayPage.test.ts
         /TelemetryPage.test.ts
     tests.tstest.spec.ts
     utils.ts // which container methods to start and stop the app

Since we need to execute the tests in a certain order we will export the test files and import them in test.spec.ts in a specific order so that they will execute in that order.