This file contains hidden or 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
import { Selector, ClientFunction } from 'testcafe'; | |
const baseSiteUrl = 'https://www.rapidonline.com'; | |
fixture `Layout tests` | |
.page(baseSiteUrl) | |
.beforeEach(async t => { | |
await t.maximizeWindow(); | |
}); |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>gh-1999</title> | |
</head> | |
<body> | |
<div id="editor" contenteditable="true" style="border: 1px solid black;"> | |
test |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>gh-1999</title> | |
</head> | |
<body> | |
<div style="height: 2000px;"></div> | |
<div id="section-esg-top-holdings" style="height: 100px; width: 100%; background-color: blue; color: white;"></div> | |
<div style="height: 2000px;"></div> |
This file contains hidden or 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
const locks = []; | |
function lock (key) { | |
locks.push(key); | |
} | |
function unlock (key) { | |
locks.splice(locks.indexOf(key), 1); | |
} |
NewerOlder