Skip to content

Commit 666fdfb

Browse files
committed
chore: Add missing license headers.
1 parent 13f27e6 commit 666fdfb

File tree

3 files changed

+53
-16
lines changed

3 files changed

+53
-16
lines changed

e2e/samples.spec.ts

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
1-
/**
2-
* @license
3-
* Copyright 2024 Google LLC. All Rights Reserved.
4-
* SPDX-License-Identifier: Apache-2.0
5-
*/
1+
/*
2+
* Copyright 2024 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
616

717
// e2e/samples.spec.ts
818
import { test, expect } from '@playwright/test';
@@ -50,8 +60,15 @@ sampleFolders.forEach((sampleFolder) => {
5060
try {
5161
await page.goto(url);
5262
await page.waitForLoadState('domcontentloaded');
63+
64+
// START NEW
5365
// wait for google.maps to be loaded
54-
//await waitForGoogleMapsToLoad(page); // TODO: Figure out how to load Google up in here.
66+
await waitForGoogleMapsToLoad(page);
67+
68+
// Check whether the map container element is visible.
69+
//await expect(page.locator('#map')).toBeVisible(); //TODO: Figure out how to get it to see the map element.
70+
// END NEW
71+
5572
} finally {
5673
viteProcess.kill();
5774
}

playwright.config.ts

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
1-
/**
2-
* @license
3-
* Copyright 2024 Google LLC. All Rights Reserved.
4-
* SPDX-License-Identifier: Apache-2.0
5-
*/
1+
/*
2+
* Copyright 2024 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
616

717
import { defineConfig, devices } from '@playwright/test';
818

samples/vite.config.js

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
1-
/**
2-
* @license
3-
* Copyright 2024 Google LLC. All Rights Reserved.
4-
* SPDX-License-Identifier: Apache-2.0
5-
*/
1+
/*
2+
* Copyright 2024 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
616

717
// https://vitejs.dev/config/
818
import { defineConfig } from 'vite';

0 commit comments

Comments
 (0)