File tree Expand file tree Collapse file tree 3 files changed +53
-16
lines changed
Expand file tree Collapse file tree 3 files changed +53
-16
lines changed Original file line number Diff line number Diff line change 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
818import { 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 }
Original file line number Diff line number Diff line change 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
717import { defineConfig , devices } from '@playwright/test' ;
818
Original file line number Diff line number Diff line change 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/
818import { defineConfig } from 'vite' ;
You can’t perform that action at this time.
0 commit comments