Skip to content

Commit

Permalink
Update CopyToClipboardTests.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
n0shake committed Apr 23, 2023
1 parent e7e7ee3 commit e59b2e1
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Clocker/ClockerUITests/CopyToClipboardTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,10 @@ class CopyToClipboardTests: XCTestCase {
let time = cell.staticTexts["ActualTime"].value ?? "Nil Value"
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 {
XCTAssertTrue(clipboard.contains(item))
}
}
}

func testModernSlider() {
Expand Down

0 comments on commit e59b2e1

Please sign in to comment.