Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/test/java/school/redrover/FolderTest.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package school.redrover;

import org.testng.Assert;
import org.testng.annotations.Ignore;
//import org.testng.annotations.Ignore;
import org.testng.annotations.Test;
import school.redrover.common.BaseTest;
import school.redrover.page.FolderStatusPage;
Expand Down Expand Up @@ -143,7 +143,7 @@ public void testSameItemNamesInTwoFolders() {
"'%s' должен присутствовать во второй папке '%s'".formatted(SUB_FOLDER_NAME, FOLDER_NAME_2));
}

@Ignore
// @Ignore
@Test(dependsOnMethods = "testRenameFolder")
public void testDeleteFolderByDashboardDropdownMenu() {
boolean isFolderDeleted = new HomePage(getDriver())
Expand All @@ -159,7 +159,7 @@ public void testDeleteFolderByDashboardDropdownMenu() {
"%s не должна отображаться в поиске после удаления".formatted(NEW_FOLDER_NAME));
}

@Ignore
// @Ignore
@Test(dependsOnMethods = {"testCreate", "testIsEmpty", "testDeleteFolderByDashboardDropdownMenu"})
public void testPutItemsToFolder() {
for (Object[] item : ITEMS) {
Expand All @@ -185,7 +185,7 @@ public void testPutItemsToFolder() {
"В папке должны быть все перенесенные элементы: " + ITEM_NAMES);
}

@Ignore
// @Ignore
@Test(dependsOnMethods = "testPutItemsToFolder")
public void testFolderIsIdentifiedByIcon() {
FolderStatusPage folderPage = new HomePage(getDriver())
Expand All @@ -200,7 +200,7 @@ public void testFolderIsIdentifiedByIcon() {
"Ошибка в отображении иконок");
}

@Ignore
// @Ignore
@Test(dependsOnMethods = "testSameItemNamesInTwoFolders")
public void testRenameFolder() {
String newNameFolder = new HomePage(getDriver())
Expand All @@ -216,7 +216,7 @@ public void testRenameFolder() {
Assert.assertEquals(newNameFolder, NEW_FOLDER_NAME);
}

@Ignore
// @Ignore
@Test(dependsOnMethods = "testPutItemsToFolder")
public void testFolderIsIdentifiedByTooltip() {
FolderStatusPage folderPage = new HomePage(getDriver())
Expand All @@ -230,7 +230,7 @@ public void testFolderIsIdentifiedByTooltip() {
List.of(SUB_FOLDER_NAME),
"Ошибка в отображении тултипов");
}
@Ignore //Test failed on CI
// @Ignore //Test failed on CI
@Test(dependsOnMethods = "testPutItemsToFolder")
public void testFindFolderContent() {
String previousItemName = "";
Expand Down