aboutsummaryrefslogtreecommitdiffstats
path: root/tests/selenium/docs/Stack/specs/mocha.js
diff options
context:
space:
mode:
authorŽeljko Filipin <zeljko.filipin@gmail.com>2024-09-11 10:55:58 +0200
committerŽeljko Filipin <zeljko.filipin@gmail.com>2024-09-11 10:55:58 +0200
commitbc772ddda093951e7624224af98835ce86847f3c (patch)
tree002ca41e0cc3d63c5493316534092f760d1cd20a /tests/selenium/docs/Stack/specs/mocha.js
parentd38689ae1d7a74cda9df88d9e747b455b66653d6 (diff)
downloadmediawikicore-bc772ddda093951e7624224af98835ce86847f3c.tar.gz
mediawikicore-bc772ddda093951e7624224af98835ce86847f3c.zip
selenium: Main page should have "Log in" link
Make it explicit that there are three separate tests by expanding test names. Until now, these three tests were doing the same thing, but in a different way. All three tests had the same name. That made it harder to debug if anything went wrong. For example, all three tests created the screenshot file with the same name. Bug: T373125 Change-Id: I53f62186fd4e8ffbe5e93642c933da2493b91896
Diffstat (limited to 'tests/selenium/docs/Stack/specs/mocha.js')
-rw-r--r--tests/selenium/docs/Stack/specs/mocha.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/selenium/docs/Stack/specs/mocha.js b/tests/selenium/docs/Stack/specs/mocha.js
index 18c4c2f60f3b..8c4c586a88b3 100644
--- a/tests/selenium/docs/Stack/specs/mocha.js
+++ b/tests/selenium/docs/Stack/specs/mocha.js
@@ -10,7 +10,7 @@
const baseUrl = `${ process.env.MW_SERVER }${ process.env.MW_SCRIPT_PATH }/index.php?title=`;
describe( 'Main page', () => {
- it( 'should have "Log in" link', async () => {
+ it( 'should have "Log in" link when using mocha', async () => {
await browser.url( `${ baseUrl }/Main_Page` );
const displayed = await $( 'li#pt-login-2 a' ).isDisplayed();
if ( displayed === false ) {