Browse Source

Update CopyToClipboardTests.swift

master
Abhi 2 years ago
parent
commit
e59b2e157a
  1. 9
      Clocker/ClockerUITests/CopyToClipboardTests.swift

9
Clocker/ClockerUITests/CopyToClipboardTests.swift

@ -43,14 +43,9 @@ class CopyToClipboardTests: XCTestCase {
clipboardValue.append("\(time)") clipboardValue.append("\(time)")
} }
app.buttons["Share"].click()
app/*@START_MENU_TOKEN@*/ .menuItems["Copy All Times"]/*[[".dialogs[\"Clocker Panel\"]",".buttons[\"Share\"]",".menus.menuItems[\"Copy All Times\"]",".menuItems[\"Copy All Times\"]"],[[[-1,3],[-1,2],[-1,1,2],[-1,0,1]],[[-1,3],[-1,2],[-1,1,2]],[[-1,3],[-1,2]]],[0]]@END_MENU_TOKEN@*/ .click()
if let clipboard = NSPasteboard.general.string(forType: .string) {
for item in clipboardValue { app.buttons["Share"].click()
XCTAssertTrue(clipboard.contains(item))
}
}
} }
func testModernSlider() { func testModernSlider() {

Loading…
Cancel
Save