mirror of https://github.com/lukechilds/polar.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
358 B
12 lines
358 B
6 years ago
|
import { Selector } from 'testcafe';
|
||
|
|
||
|
class App {
|
||
|
navHomeLink: Selector = Selector('[data-tid=nav-home]');
|
||
|
navCounterLink: Selector = Selector('[data-tid=nav-counter]');
|
||
|
|
||
|
clickHomeLink = async (t: TestController) => t.click(this.navHomeLink);
|
||
|
clickCounterLink = async (t: TestController) => t.click(this.navCounterLink);
|
||
|
}
|
||
|
|
||
|
export default new App();
|