Skip to content

Conversation

@VitPerov88
Copy link
Collaborator

No description provided.

menuBarsQuery.menuItems["Redo"].click()
statusBar
.clickEdit()
.clickUndoMenu()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

После анду нужен ассерт

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

.clickUndoMenu()
.clickEdit()
.clickRedoMenu()

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

После реду нужен ассерт

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

start.press(forDuration: 0.01, thenDragTo: finish)
canvas
.drag(from: 0.45, to: 0.5)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

После перетаскивания нужен ассерт

.clickEdit()
.clickUndoMenu()
XCTAssertFalse(app.staticTexts["Add your screenshot"].exists)
assertNavigatorElements(count: 1)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Подвинуть ассерт в пейдж Navigator

statusBar
.clickEdit()
.clickUndoMenu()
XCTAssertFalse(app.staticTexts["Add your screenshot"].exists)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Подвинуть ассерт в пейдж Settings

func testDeleteUndoRedo() {
XCUIApplication().typeKey(XCUIKeyboardKey.delete, modifierFlags: [])
XCTAssertTrue(app.staticTexts["Add your screenshot"].exists)
assertNavigatorElements(count: 0)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тоже в пейдж навигатор

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants