[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:
WMDE-Fisch 2024-10-29 20:23:20 +01:00
parent 866ae77e0a
commit 5f6403b7bc

View file

@ -23,6 +23,7 @@ export function openVEForSourceEditingReferences( title, usesCitoid ) {
if ( usesCitoid ) {
waitForVECitoidToLoad();
}
cy.get( '.ve-ce-surface' ).click();
}
export function waitForVECiteToLoad() {