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

API to create integration test pages #7029

Merged

Conversation

akosyakov
Copy link
Member

What it does

How to test

Run test and test:debug commands in the browser example and check that they still work.

Review checklist

Reminder for reviewers

@akosyakov akosyakov added the test issues related to unit and api tests label Jan 31, 2020
if (exit) {
await page.close();
process.exit(failures > 0 ? 1 : 0);
const testPage = await newTestPage({
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vince-fugnitto you will need something similar to test theia-apps, but it should spawn a server in the docker container

It enabled clients to control how the application is started and do any additional authentication if it is required.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
@akosyakov akosyakov force-pushed the akosyakov/allow-passing-page-to-7028 branch from bec478b to 595716d Compare January 31, 2020 07:03
Copy link
Contributor

@svenefftinge svenefftinge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@akosyakov akosyakov merged commit d7cf6ec into eclipse-theia:master Jan 31, 2020
@akosyakov akosyakov deleted the akosyakov/allow-passing-page-to-7028 branch January 31, 2020 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test issues related to unit and api tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

allow passing page to integration test by end products
2 participants