testdriverai 7.2.48 → 7.2.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  describe("AI Test", () => {
10
10
  it("should use ai to search for testdriver on Google", async (context) => {
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  describe("Assert Test", () => {
10
10
  it("should assert the testdriver login page shows", async (context) => {
@@ -8,7 +8,7 @@
8
8
  */
9
9
 
10
10
  import { describe, expect, it } from "vitest";
11
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
11
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
12
12
 
13
13
  describe("Chrome Extension Test", () => {
14
14
  it("should load hello-world Chrome extension from local path", async (context) => {
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  const isLinux = (process.env.TD_OS || "linux") === "linux";
10
10
 
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  describe("Element Not Found Test", () => {
10
10
  it("should handle non-existent element gracefully without timing out", async (context) => {
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  describe.skip("Exec Output Test", () => {
10
10
  it(
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  describe.skip("Exec PowerShell Test", () => {
10
10
  it(
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  describe("Focus Window Test", () => {
10
10
  it.skip(
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  describe("Formatted Logging Test", () => {
10
10
  it("should demonstrate formatted logs in dashcam replay", async (context) => {
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  /**
10
10
  * Perform login flow for SauceLabs demo app
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  /**
10
10
  * Perform login flow for SauceLabs demo app
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  describe("Hover Text Test", () => {
10
10
  it("should click Sign In and verify error message", async (context) => {
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  const isLinux = (process.env.TD_OS || "linux") === "linux";
10
10
 
@@ -1,5 +1,5 @@
1
1
  import { describe, expect, it } from "vitest";
2
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
2
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
3
3
 
4
4
  const isLinux = (process.env.TD_OS || "linux") === "linux";
5
5
 
@@ -6,7 +6,7 @@
6
6
  import path, { dirname } from "path";
7
7
  import { fileURLToPath } from "url";
8
8
  import { describe, expect, it } from "vitest";
9
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
9
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
10
10
 
11
11
  /**
12
12
  * Perform login flow for SauceLabs demo app
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  describe("Press Keys Test", () => {
10
10
  it("should create tabs and navigate using keyboard shortcuts", async (context) => {
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  describe.skip("Prompt Test", () => {
10
10
  it("should execute AI-driven prompts", async (context) => {
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  describe("Scroll Keyboard Test", () => {
10
10
  it("should navigate to webhamster.com and scroll with keyboard", async (context) => {
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  describe("Scroll Until Image Test", () => {
10
10
  it.skip("should scroll until brown colored house image appears", async (context) => {
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { describe, expect, it } from "vitest";
7
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
7
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
8
8
 
9
9
  /**
10
10
  * Perform login flow for SauceLabs demo app
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  import { describe, expect, it } from "vitest";
9
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
9
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
10
10
 
11
11
  describe("Scroll Test", () => {
12
12
  it("should navigate and scroll down the page", async (context) => {
@@ -1,5 +1,5 @@
1
1
  import { describe, expect, it } from "vitest";
2
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
2
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
3
3
 
4
4
  describe("Type Test", () => {
5
5
  it("should enter standard_user in username field", async (context) => {
@@ -10,7 +10,7 @@
10
10
  */
11
11
 
12
12
  import { describe, it } from "vitest";
13
- import { TestDriver } from "../../lib/vitest/hooks.mjs";
13
+ import { TestDriver } from "../lib/vitest/hooks.mjs";
14
14
 
15
15
  const isLinux = (process.env.TD_OS || "linux") === "linux";
16
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "7.2.48",
3
+ "version": "7.2.49",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "sdk.js",
6
6
  "types": "sdk.d.ts",