diff options
author | Patrick Quist <partouf@gmail.com> | 2022-01-25 10:17:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-25 10:17:56 +0000 |
commit | da52309abd040d67e92d9ba876175adb773e4e18 (patch) | |
tree | 7bf9f230d0887ed00646db95d2933995784b0875 /cypress/integration/frontend-testing.js | |
parent | b83dafac61c0972498b0dd8c0ea41db57d4edc81 (diff) | |
parent | 040bffa405fca17e9c24986943a7dada1f392919 (diff) | |
download | compiler-explorer-gh-1711.tar.gz compiler-explorer-gh-1711.zip |
Merge 040bffa405fca17e9c24986943a7dada1f392919 into b83dafac61c0972498b0dd8c0ea41db57d4edc81gh-1711
Diffstat (limited to 'cypress/integration/frontend-testing.js')
-rw-r--r-- | cypress/integration/frontend-testing.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cypress/integration/frontend-testing.js b/cypress/integration/frontend-testing.js new file mode 100644 index 000000000..4dcc06709 --- /dev/null +++ b/cypress/integration/frontend-testing.js @@ -0,0 +1,15 @@ +function runFrontendTest(name) { + it(name, () => { + cy.window().then((win) => { + return win.compilerExplorerFrontendTesting.run(name); + }); + }); +} + +describe('Frontendtestresults', () => { + before(() => { + cy.visit('/'); + }); + + runFrontendTest('HelloWorld'); +}); |