-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(@dpc-sdp/ripple-test-utils): fix cypress config importing from …
…module
- Loading branch information
1 parent
e26c8ba
commit cf64e63
Showing
11 changed files
with
427 additions
and
431 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import 'dotenv/config' | ||
import { defineConfig } from 'cypress' | ||
import * as rplCypressConfigPkg from '@dpc-sdp/ripple-test-utils' | ||
|
||
export default defineConfig({ | ||
projectId: 'mie4kg', | ||
e2e: { | ||
baseUrl: 'http://localhost:3000', | ||
specPattern: '**/*.{feature,feature.ts}', | ||
supportFile: false, | ||
supportFolder: './test', | ||
downloadsFolder: './test/downloads', | ||
fixturesFolder: './test/fixtures', | ||
videosFolder: './test/videos', | ||
screenshotsFolder: './test/screenshots', | ||
async setupNodeEvents(on, config) { | ||
await rplCypressConfigPkg.rplCypressConfigPlugin(on, config) | ||
return config | ||
} | ||
}, | ||
blockHosts: ['*youtube.com', '*doubleclick.net'] | ||
}) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
13 changes: 6 additions & 7 deletions
13
...emplates/layer/latest/cypress.config.ts.t → ...mplates/layer/latest/cypress.config.mjs.t
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.