Skip to content

Commit

Permalink
Upgrade GH actions and fix checksDocsPage tests
Browse files Browse the repository at this point in the history
  • Loading branch information
big-r81 committed May 21, 2024
1 parent 1f1b4dd commit 9630221
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ jobs:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install npm packages
Expand All @@ -30,8 +30,8 @@ jobs:
- COUCHDB_IMAGE: couchdb:2.3.1
NIGHTWATCH_SKIPTAGS: "search,partitioned"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
Expand Down
6 changes: 3 additions & 3 deletions app/addons/documentation/components.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ const DocumentationPage = () => {
<div className="links row mb-4">
<DocumentationItem
iconClassName='couchdb-icon'
link='http:https://docs.couchdb.org/en/latest/'
link='https:https://docs.couchdb.org/en/latest/'
title='CouchDB Official Documentation — Online' />
<DocumentationItem
iconClassName='couchdb-icon'
link='./docs/index.html'
title='CouchDB Official Documentation — Offline' />
<DocumentationItem
iconClassName='couchdb-icon'
link='http:https://blog.couchdb.org/'
link='https:https://blog.couchdb.org/'
title='CouchDB Weekly News' />
<DocumentationItem
iconClassName='couchdb-icon'
Expand All @@ -59,7 +59,7 @@ const DocumentationPage = () => {
<div className="links row mb-4">
<DocumentationItem
iconClassName='asf-feather-icon'
link='http:https://www.apache.org/'
link='https:https://www.apache.org/'
title='The Apache Software Foundation' />
<DocumentationItem
iconClassName='mastodon-icon'
Expand Down
8 changes: 4 additions & 4 deletions app/addons/documentation/tests/nightwatch/checksDocsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ module.exports = {
client
.loginToGUI()
.clickWhenVisible('a[href="#/documentation"]')
.waitForElementVisible('a[href="http:https://docs.couchdb.org/en/latest/"]', waitTime, false)
.waitForElementVisible('a[href="https:https://docs.couchdb.org/en/latest/"]', waitTime, false)
.waitForElementVisible('a[href="./docs/index.html"]', waitTime, false)
.waitForElementVisible('a[href="http:https://blog.couchdb.org/"]', waitTime, false)
.waitForElementVisible('a[href="https:https://blog.couchdb.org/"]', waitTime, false)
.waitForElementVisible('a[href="https://couchdb.apache.org/"]', waitTime, false)
.waitForElementVisible('a[href="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/apache/couchdb"]', waitTime, false)
.waitForElementVisible('a[href="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/apache/couchdb-fauxton"]', waitTime, false)
.waitForElementVisible('a[href="https://couchdb.apache.org/fauxton-visual-guide/index.html"]', waitTime, false)
.waitForElementVisible('a[href="http:https://www.apache.org/"]', waitTime, false)
.waitForElementVisible('a[href="https://twitter.com/couchdb"]', waitTime, false)
.waitForElementVisible('a[href="https:https://www.apache.org/"]', waitTime, false)
.waitForElementVisible('a[href="https://fosstodon.org/@couchdb"]', waitTime, false)
.waitForElementVisible('a[href="https://www.linkedin.com/company/apache-couchdb"]', waitTime, false)
.end();
}
Expand Down

0 comments on commit 9630221

Please sign in to comment.