Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
ab3192ce2ca3f36694738fdaa7cb765c605033c4
/
.
/
cypress
/
integration
/
frontend-testing.js
blob: 99e6a89a1c50b5da11e5871cd82a9eb05f1c92fd [
file
] [
log
] [
blame
] [
raw
]
function
runFrontendTest
(
name
)
{
it
(
name
,
()
=>
{
cy
.
window
().
then
(
win
=>
{
return
win
.
compilerExplorerFrontendTesting
.
run
(
name
);
});
});
}
describe
(
'Frontendtestresults'
,
()
=>
{
before
(()
=>
{
cy
.
visit
(
'/'
);
});
runFrontendTest
(
'HelloWorld'
);
});