diff options
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'); +}); |