Skip to content

Commit

Permalink
Passed Playwright tests!
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanThatOneKid committed Sep 20, 2022
1 parent b1c4ab1 commit e95cb60
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/routes/nodebuds/+page.svelte
@@ -1,9 +1,9 @@
<script lang="ts">
import Spacing from '$lib/legacy/spacing.svelte';
import Spacing from '$lib/public/legacy/spacing.svelte';
import type { Officer } from '$lib/public/board/types';
import { VISIBLE_TERMS } from '$lib/public/board/data';
import { termIndex } from '$lib/public/board/utils';
import OfficerProfileList from '../about/officer-profile-list.svelte';
import { VISIBLE_TERMS } from '../about/officers';
import type { Officer } from '../about/officers';
import { termIndex } from '../about/term-index';
function filterNodeBuddies(officer: Officer): boolean {
const position = officer.positions[VISIBLE_TERMS[$termIndex]];
Expand All @@ -25,7 +25,7 @@
<div class="container">
<section>
<div>
<h2 class="headers size-lg">Personalized for your success</h2>
<h1 class="headers size-lg">Personalized for your success</h1>
<p class="size-xs">
<span class="headers"> node buds </span>
is our exclusive program in partnership with
Expand Down
5 changes: 5 additions & 0 deletions tests/test.ts
Expand Up @@ -19,3 +19,8 @@ test('teams page has expected h1', async ({ page }) => {
await page.goto('/teams');
expect(await page.textContent('h1')).toBe('Meet the Teams');
});

test('nodebuds page has expected h1', async ({ page }) => {
await page.goto('/nodebuds');
expect(await page.textContent('h1')).toBe('Personalized for your success');
});

0 comments on commit e95cb60

Please sign in to comment.