fix: support Angular 17 new template (#11375)

This commit is contained in:
Nikolay Vitkov 2023-11-13 14:24:15 +01:00 committed by GitHub
parent 1b2d920fe6
commit 64f7bf0af4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ describe('App test', function () {
setupBrowserHooks();
it('is running', async function () {
const {page} = getBrowserState();
const element = await page.waitForSelector('text/<%= project %> app is running!');
const element = await page.waitForSelector('text/<%= project %>');
<% if(testRunner == 'jasmine' || testRunner == 'jest') { %>
expect(element).not.toBeNull();