Skip to content
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

Plugin for TestCafe #33

Closed
thiagodp opened this issue Mar 20, 2019 · 1 comment
Closed

Plugin for TestCafe #33

thiagodp opened this issue Mar 20, 2019 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed plugin third-party Something is happening with a third party library or dependency tool integration Integration with third party tools

Comments

@thiagodp
Copy link
Owner

TestCafe supports desktop, mobile, remote and cloud browsers (UI or headless).

Example:

import { Selector } from 'testcafe'; // first import testcafe selectors

fixture `Getting Started`// declare the fixture
    .page `https://devexpress.github.io/testcafe/example`;  // specify the start page


//then create a test and place your code there
test('My first test', async t => {
    await t
        .typeText('#developer-name', 'John Smith')
        .click('#submit-button')

        // Use the assertion to check if the actual header text is equal to the expected one
        .expect(Selector('#article-header').innerText).eql('Thank you, John Smith!');
});
@thiagodp thiagodp added enhancement New feature or request help wanted Extra attention is needed plugin tool integration Integration with third party tools third-party Something is happening with a third party library or dependency labels Mar 20, 2019
@thiagodp thiagodp mentioned this issue May 4, 2019
@thiagodp
Copy link
Owner Author

thiagodp commented May 4, 2019

Moved to #39

@thiagodp thiagodp closed this as completed May 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed plugin third-party Something is happening with a third party library or dependency tool integration Integration with third party tools
Projects
None yet
Development

No branches or pull requests

1 participant