diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8957092..97a854e 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @Widen/frontend +* @mskelton @avo @joephela diff --git a/LICENSE b/LICENSE index e2aeaeb..5804d22 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ ISC License -Copyright (c) 2022, Widen Enterprises, Inc. +Copyright (c) 2023, Lariat Team Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above diff --git a/README.md b/README.md index faf28f1..2933e30 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,37 @@ -# Lariat +# Lariat for Playwright -[![Build](https://github.com/Widen/lariat/actions/workflows/build.yml/badge.svg)](https://github.com/Widen/lariat/actions/workflows/build.yml) +[![Build](https://github.com/lariat-js/playwright/actions/workflows/build.yml/badge.svg)](https://github.com/lariat-js/playwright/actions/workflows/build.yml) [![npm](https://img.shields.io/npm/v/lariat)](https://www.npmjs.com/package/lariat) [![changesets](https://img.shields.io/badge/maintained%20with-changesets-blue)](https://github.com/atlassian/changesets) -Page object framework for end-to-end testing in Playwright. +Page object framework for [Playwright](https://playwright.dev). ## Installation -### npm +npm ```sh npm install lariat ``` -### Yarn +Yarn ```sh yarn add lariat ``` +pnpm + +```sh +pnpm add lariat +``` + +Bun + +```sh +bun add lariat +``` + ## Basic Usage At the core of Lariat is the `Collection` class. This class is used to represent diff --git a/package.json b/package.json index ee6ef18..f04149e 100644 --- a/package.json +++ b/package.json @@ -2,13 +2,13 @@ "name": "lariat", "version": "2.0.1", "description": "Page object framework for end-to-end testing in Playwright.", - "author": "Widen", + "author": "Lariat Team", "license": "ISC", "packageManager": "yarn@3.2.1", - "repository": "github:Widen/lariat", - "homepage": "https://github.com/Widen/lariat#readme", + "repository": "github:lariat-js/playwright", + "homepage": "https://github.com/lariat-js/playwright#readme", "bugs": { - "url": "https://github.com/Widen/lariat/issues" + "url": "https://github.com/lariat-js/playwright/issues" }, "keywords": [ "lariat", diff --git a/test/frame-locators.spec.ts b/test/frame-locators.spec.ts index 58428ca..bf9e02d 100644 --- a/test/frame-locators.spec.ts +++ b/test/frame-locators.spec.ts @@ -45,14 +45,14 @@ test.describe.parallel('Frame locators', () => { await page.setContent(` - + `) const examplePage = new ExamplePage(page) const frame = examplePage.inner await expect(frame.first().header).toHaveText('Example Domain') await expect(frame.nth(1).header).toContainText('Playwright') - await expect(frame.last().header).toHaveText('Overreacted') + await expect(frame.last().header).toHaveText('Quick Start') }) }) })