From 773a20cf10b16248b9efccc26194440c5699ddf2 Mon Sep 17 00:00:00 2001 From: Mark Skelton Date: Fri, 1 Dec 2023 19:40:40 -0600 Subject: [PATCH 1/3] Update docs --- .github/CODEOWNERS | 2 +- README.md | 22 +++++++++++++++++----- package.json | 6 +++--- 3 files changed, 21 insertions(+), 9 deletions(-) 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/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..95d59c3 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,10 @@ "author": "Widen", "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", From f92b6de42d426830b656a4caba545b1357efb6e4 Mon Sep 17 00:00:00 2001 From: Mark Skelton Date: Fri, 1 Dec 2023 19:44:08 -0600 Subject: [PATCH 2/3] Fix tests --- test/frame-locators.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') }) }) }) From 013667f1e4eeb57eff8158af6f39b24e4fe1c525 Mon Sep 17 00:00:00 2001 From: Mark Skelton Date: Mon, 4 Dec 2023 13:08:18 -0600 Subject: [PATCH 3/3] Remove refs to widen --- LICENSE | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/package.json b/package.json index 95d59c3..f04149e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "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:lariat-js/playwright",