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

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();