wait for skeleton to disapear while searching for category (#2360)

This commit is contained in:
Anna Szczęch 2022-10-13 08:07:21 +02:00 committed by GitHub
parent b6644efa54
commit 0d519e665c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,6 +56,7 @@ export function enterCategoryTranslation(language, categoryName) {
}
function getCategoryFromTable(categoryName) {
cy.get(SHARED_ELEMENTS.skeleton).should("not.exist");
cy.wait("@CategoryTranslations")
.its("response.body.data.translations.edges")
.then(edges => {