mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 08:20:02 +00:00
[cypress] Focus the surface at least once before testing WT2017
Intended as workaround to make sure that the temp account notice is closed before opening Citoid. But does not hurt in any case I guess. Bug: T378537 Bug: T378417 Bug: T377666 Change-Id: I4c3bf156cbb7306eda924bcebc2fbed3b5864f8a
This commit is contained in:
parent
866ae77e0a
commit
5f6403b7bc
|
@ -23,6 +23,7 @@ export function openVEForSourceEditingReferences( title, usesCitoid ) {
|
|||
if ( usesCitoid ) {
|
||||
waitForVECitoidToLoad();
|
||||
}
|
||||
cy.get( '.ve-ce-surface' ).click();
|
||||
}
|
||||
|
||||
export function waitForVECiteToLoad() {
|
||||
|
|
Loading…
Reference in a new issue