Comments (3)
This seems to be an issue pertaining to Angular.
from puppeteer.
This issue is related to @puppeteer/ng-schematics:puppeteer
async function executeE2ETest(
options: PuppeteerBuilderOptions,
context: BuilderContext
): Promise<BuilderOutput> {
let server: BuilderRun | null = null;
try {
message('\n Building tests π οΈ ... \n', context);
await executeCommand(context, [`tsc`, '-p', 'e2e/tsconfig.json']);
server = await startServer(options, context); // This is not developer friendly
const result = await server.result;
message('\n Running tests π§ͺ ... \n', context);
const testRunnerCommand = getCommandForRunner(options.testRunner);
await executeCommand(context, testRunnerCommand, {
baseUrl: result['baseUrl'],
});
message('\n π Test ran successfully! π ', context, 'success');
return {success: true};
} catch (error) {
message('\n π Test failed! π ', context, 'error');
if (error instanceof Error) {
return {success: false, error: error.message};
}
return {success: false, error: error as string};
} finally {
if (server) {
await server.stop();
}
}
}
ng e2e
must start a server, this is a waste of time.
If ng e2e
can test a exist server, that would be great.
from puppeteer.
Imho this is a duplicate of #12222.
from puppeteer.
Related Issues (20)
- [Bug]: setViewport does not work for puppeteer.connect HOT 2
- [Feature]: create a puppeteer-lite package HOT 1
- [Bug]: Protocol error (Fetch.disable): 'Fetch.disable' wasn't found HOT 3
- [Feature]: Can puppeteer launch headless browser and headed browser at the same timeοΌ HOT 8
- [Bug]: setcontent times out. HOT 2
- [Bug]: TimeoutError generating simple PDF HOT 3
- [Bug]: Promise written to stdout on puppeteer.launch HOT 2
- [Bug]: TimeoutError when printing a PDF using Chrome 125 HOT 6
- Read this if you experience PDF printing hanging on Windows HOT 1
- [Feature]: A Fixed Documents For Replit Users HOT 1
- [Bug]: setcontent uses document.write triggering chrome console error HOT 1
- [Bug]: Redirection is not followed and directly breaks page and execution context HOT 8
- How to use XPath to find elements in latest puppeteer-coreοΌ HOT 1
- [Bug]: libdrm.so.2: cannot open shared object file: No such file or directory HOT 1
- "page.waitForXPath is not a function" in 22.10.0 HOT 1
- [Bug]: Regression CDP/BiDi when serializing a typed array HOT 8
- [Bug]: Docker errors HOT 2
- [Bug]: Chrome settings policy does not work HOT 3
- [Bug]: Unable to Screenshot Blocked GraphQL Result Page HOT 4
- [Bug]: Headless can't read LocalStorage written from Headful `DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.` HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppeteer.