slint/docs/astro/tests/smoke-test.spec.ts
dependabot[bot] 1dc02c6ef7
build(deps): bump the starlight_astro group with 2 updates (#8219)
* build(deps): bump the starlight_astro group with 2 updates

Bumps the starlight_astro group with 2 updates: [@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight) and [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro).


Updates `@astrojs/starlight` from 0.33.1 to 0.34.0
- [Release notes](https://github.com/withastro/starlight/releases)
- [Changelog](https://github.com/withastro/starlight/blob/main/packages/starlight/CHANGELOG.md)
- [Commits](https://github.com/withastro/starlight/commits/@astrojs/starlight@0.34.0/packages/starlight)

Updates `astro` from 5.6.1 to 5.7.4
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@5.7.4/packages/astro)

---
updated-dependencies:
- dependency-name: "@astrojs/starlight"
  dependency-version: 0.34.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: starlight_astro
- dependency-name: astro
  dependency-version: 5.7.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: starlight_astro
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix tests

* Name smoke test

* [autofix.ci] apply automated fixes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nigel Breslaw <nigel.breslaw@slint.dev>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-24 12:36:43 +03:00

16 lines
643 B
TypeScript

// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: MIT
import { test, expect } from "@playwright/test";
test("smoke test", async ({ page }) => {
await page.goto("");
await expect(page.locator('[id="_top"]')).toContainText("Welcome to Slint");
await page
.getByLabel("Main")
.getByRole("link", { name: "Reference" })
.click();
await page.getByText("Visual Elements").click();
await page.getByRole("link", { name: "Image" }).click();
await page.getByRole("link", { name: "colorize", exact: true }).click();
await page.getByRole("link", { name: "brush" }).click();
});