Skip to content

Commit 13f27e6

Browse files
committed
chore: add missing license headers.
1 parent ce0c7db commit 13f27e6

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

e2e/samples.spec.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1+
/**
2+
* @license
3+
* Copyright 2024 Google LLC. All Rights Reserved.
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
// e2e/samples.spec.ts
28
import { test, expect } from '@playwright/test';
39
import fs from 'fs';
410
import path from 'path';
511
import childProcess from 'child_process'; // Import childProcess
12+
import { waitForGoogleMapsToLoad, failOnPageError } from "./utils";
613

714
const samplesDir = path.join(__dirname, '..', 'samples');
815

@@ -43,7 +50,8 @@ sampleFolders.forEach((sampleFolder) => {
4350
try {
4451
await page.goto(url);
4552
await page.waitForLoadState('domcontentloaded');
46-
// Add your assertions here
53+
// wait for google.maps to be loaded
54+
//await waitForGoogleMapsToLoad(page); // TODO: Figure out how to load Google up in here.
4755
} finally {
4856
viteProcess.kill();
4957
}

playwright.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* @license
3+
* Copyright 2024 Google LLC. All Rights Reserved.
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
import { defineConfig, devices } from '@playwright/test';
28

39
/**

samples/vite.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* @license
3+
* Copyright 2024 Google LLC. All Rights Reserved.
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
// https://vitejs.dev/config/
28
import { defineConfig } from 'vite';
39
import dotenv from 'dotenv';

0 commit comments

Comments
 (0)