aboutsummaryrefslogtreecommitdiffstats
path: root/tests/selenium/docs/Create_a_simple_test/specs/specialpages.js
blob: 44e1a50aa6450dc403172273d2c054392f43a5f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Example code for Selenium/Getting Started/Create a simple test
// https://www.mediawiki.org/wiki/Selenium/Getting_Started/Create_a_simple_test

'use strict';

const SpecialPages = require( '../pageobjects/specialpages.page' );

describe( 'Special:SpecialPages', () => {
	it( 'should not have Edit link', async () => {
		await SpecialPages.open();
		await expect( SpecialPages.edit ).not.toExist();
	} );
} );