-
Notifications
You must be signed in to change notification settings - Fork 9
Add tests for canvas #342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Add tests for canvas #342
Conversation
| menuBarsQuery.menuItems["Redo"].click() | ||
| statusBar | ||
| .clickEdit() | ||
| .clickUndoMenu() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
После анду нужен ассерт
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| .clickUndoMenu() | ||
| .clickEdit() | ||
| .clickRedoMenu() | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
После реду нужен ассерт
There was a problem hiding this comment.
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) | ||
|
|
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Тоже в пейдж навигатор
No description provided.