Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
2e0c8c140a29656f3eb4e7e5ee35351a58d9fdc4
/
.
/
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'
);
});