mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Run e2e rssexec test on a local page
This commit is contained in:
parent
44dbea0b80
commit
50aedf60cc
2 changed files with 13 additions and 1 deletions
|
@ -124,7 +124,7 @@ describe("webdriver", () => {
|
||||||
+ "document.body.appendChild(elem)<CR>")
|
+ "document.body.appendChild(elem)<CR>")
|
||||||
|
|
||||||
// First, make sure completions are offered
|
// First, make sure completions are offered
|
||||||
await driver.get("https://www.bbc.co.uk/news/10628494")
|
await driver.get("http://localhost:8080/rss.html")
|
||||||
const iframe = await iframeLoaded(driver)
|
const iframe = await iframeLoaded(driver)
|
||||||
await sendKeys(driver, ":rssexec ")
|
await sendKeys(driver, ":rssexec ")
|
||||||
await driver.switchTo().frame(iframe)
|
await driver.switchTo().frame(iframe)
|
||||||
|
|
12
e2e_tests/html/rss.html
Normal file
12
e2e_tests/html/rss.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<title>Tridactyl RSS test page</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<a href="http://feeds.dummy.co.uk/news/rss.xml">
|
||||||
|
<a href="http://feeds.dummy.co.uk/views/atom.xml">
|
||||||
|
<a href="http://feeds.dummy.co.uk/pews/rss.xml">
|
||||||
|
<a href="http://feeds.dummy.co.uk/tews/atom.xml">
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Add table
Reference in a new issue