rename playwright -> browser

pull/8577/head
gtmnayan 3 years ago
parent 5c8d87e49a
commit e5408246b5

@ -17,9 +17,9 @@ describe('custom-elements', function () {
before(async function () {
svelte = loadSvelte();
console.log('[custom-element] Loaded Svelte');
console.log('[custom-elements] Loaded Svelte');
browser = await chromium.launch();
console.log('[custom-element] Launched playwright browser');
console.log('[custom-elements] Launched browser');
});
after(async () => {

@ -12,7 +12,7 @@ const index = path.resolve('index.mjs');
const assert = fs.readFileSync(`${__dirname}/assert.js`, 'utf-8');
describe('runtime (playwright)', function () {
describe('runtime (browser)', function () {
this.timeout(20000);
let svelte;
@ -20,10 +20,10 @@ describe('runtime (playwright)', function () {
before(async () => {
svelte = loadSvelte(false);
console.log('[runtime-playwright] Loaded Svelte');
console.log('[runtime-browser] Loaded Svelte');
browser = await chromium.launch();
console.log('[runtime-playwright] Launched playwright browser');
console.log('[runtime-browser] Launched browser');
});
after(async () => {
@ -59,7 +59,7 @@ describe('runtime (playwright)', function () {
input: 'main',
plugins: [
{
name: 'testing-runtime-playwright',
name: 'testing-runtime-browser',
resolveId(importee) {
if (importee === 'svelte/internal' || importee === './internal') {
return internal;

@ -1,4 +1,4 @@
// A playwright test because JSDOM doesn't support contenteditable
// A browser test because JSDOM doesn't support contenteditable
export default {
html: '<div contenteditable="false"></div>',

@ -1,4 +1,4 @@
// A playwright test because JSDOM doesn't support contenteditable
// A browser test because JSDOM doesn't support contenteditable
export default {
html: '<div contenteditable="true"></div>',
ssrHtml: '<div contenteditable=""></div>',

@ -1,4 +1,4 @@
// A playwright test because JSDOM doesn't support contenteditable
// A browser test because JSDOM doesn't support contenteditable
export default {
html: '<div contenteditable=""></div>',

@ -141,7 +141,7 @@ describe('ssr', () => {
// duplicate client-side tests, as far as possible
runRuntimeSamples('runtime');
runRuntimeSamples('runtime-playwright');
runRuntimeSamples('runtime-browser');
function runRuntimeSamples(suite) {
fs.readdirSync(`test/${suite}/samples`).forEach((dir) => {

Loading…
Cancel
Save