You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2024/05/21 23:20:32 UTC
(couchdb-fauxton) 01/01: Fix checksDocsPage tests
This is an automated email from the ASF dual-hosted git repository.
ronny pushed a commit to branch fix-test-links
in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git
commit de2ac61ad1ed1ee4c26b45f4288d564af24f4643
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Wed May 22 01:19:15 2024 +0200
Fix checksDocsPage tests
---
app/addons/documentation/components.js | 6 +++---
app/addons/documentation/tests/nightwatch/checksDocsPage.js | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/app/addons/documentation/components.js b/app/addons/documentation/components.js
index 98a60148..49ed9841 100644
--- a/app/addons/documentation/components.js
+++ b/app/addons/documentation/components.js
@@ -26,7 +26,7 @@ const DocumentationPage = () => {
<div className="links row mb-4">
<DocumentationItem
iconClassName='couchdb-icon'
- link='http://docs.couchdb.org/en/latest/'
+ link='https://docs.couchdb.org/en/latest/'
title='CouchDB Official Documentation — Online' />
<DocumentationItem
iconClassName='couchdb-icon'
@@ -34,7 +34,7 @@ const DocumentationPage = () => {
title='CouchDB Official Documentation — Offline' />
<DocumentationItem
iconClassName='couchdb-icon'
- link='http://blog.couchdb.org/'
+ link='https://blog.couchdb.org/'
title='CouchDB Weekly News' />
<DocumentationItem
iconClassName='couchdb-icon'
@@ -59,7 +59,7 @@ const DocumentationPage = () => {
<div className="links row mb-4">
<DocumentationItem
iconClassName='asf-feather-icon'
- link='http://www.apache.org/'
+ link='https://www.apache.org/'
title='The Apache Software Foundation' />
<DocumentationItem
iconClassName='mastodon-icon'
diff --git a/app/addons/documentation/tests/nightwatch/checksDocsPage.js b/app/addons/documentation/tests/nightwatch/checksDocsPage.js
index b649b72f..cac311be 100644
--- a/app/addons/documentation/tests/nightwatch/checksDocsPage.js
+++ b/app/addons/documentation/tests/nightwatch/checksDocsPage.js
@@ -19,15 +19,15 @@ module.exports = {
client
.loginToGUI()
.clickWhenVisible('a[href="#/documentation"]')
- .waitForElementVisible('a[href="http://docs.couchdb.org/en/latest/"]', waitTime, false)
+ .waitForElementVisible('a[href="https://docs.couchdb.org/en/latest/"]', waitTime, false)
.waitForElementVisible('a[href="./docs/index.html"]', waitTime, false)
- .waitForElementVisible('a[href="http://blog.couchdb.org/"]', waitTime, false)
+ .waitForElementVisible('a[href="https://blog.couchdb.org/"]', waitTime, false)
.waitForElementVisible('a[href="https://couchdb.apache.org/"]', waitTime, false)
.waitForElementVisible('a[href="https://github.com/apache/couchdb"]', waitTime, false)
.waitForElementVisible('a[href="https://github.com/apache/couchdb-fauxton"]', waitTime, false)
.waitForElementVisible('a[href="https://couchdb.apache.org/fauxton-visual-guide/index.html"]', waitTime, false)
- .waitForElementVisible('a[href="http://www.apache.org/"]', waitTime, false)
- .waitForElementVisible('a[href="https://twitter.com/couchdb"]', waitTime, false)
+ .waitForElementVisible('a[href="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();
}