@bubblegum-ai/node 0.0.6-alpha.11 → 0.0.6-alpha.12
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.
- package/README.md +1 -1
- package/dist/cjs/session.d.ts +5 -5
- package/dist/cjs/session.js +5 -5
- package/dist/esm/session.d.ts +5 -5
- package/dist/esm/session.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/cjs/session.d.ts
CHANGED
|
@@ -131,12 +131,12 @@ export declare class Bubblegum {
|
|
|
131
131
|
* ```ts
|
|
132
132
|
* // Inside a WebdriverIO test, when a normal locator click fails:
|
|
133
133
|
* const bg = await Bubblegum.attachMobile({
|
|
134
|
-
* appiumUrl: "https://
|
|
134
|
+
* appiumUrl: "https://appium.example.com/wd/hub",
|
|
135
135
|
* existingSessionId: browser.sessionId,
|
|
136
136
|
* capabilities: { platformName: "iOS" },
|
|
137
137
|
* });
|
|
138
138
|
* try {
|
|
139
|
-
* await bg.act("Tap
|
|
139
|
+
* await bg.act("Tap Continue");
|
|
140
140
|
* } finally {
|
|
141
141
|
* await bg.close(); // closes the engine wrapper only; device session stays up
|
|
142
142
|
* }
|
|
@@ -178,8 +178,8 @@ export declare class Bubblegum {
|
|
|
178
178
|
* when the visible text is dynamic (a UUID, a DB id) and so can't be named.
|
|
179
179
|
*
|
|
180
180
|
* @example
|
|
181
|
-
* await bg.clickInTable({ column: "
|
|
182
|
-
* await bg.clickInTable({ column: "
|
|
181
|
+
* await bg.clickInTable({ column: "RecordID", row: "first" });
|
|
182
|
+
* await bg.clickInTable({ column: "RecordID", rowMatch: { Name: dbName } });
|
|
183
183
|
*/
|
|
184
184
|
clickInTable(spec: TableCellTarget): Promise<StepResult>;
|
|
185
185
|
/**
|
|
@@ -202,7 +202,7 @@ export declare class Bubblegum {
|
|
|
202
202
|
* inside a badge (expected is matched as a substring of the cell).
|
|
203
203
|
*
|
|
204
204
|
* @example
|
|
205
|
-
* await bg.verifyTable({ columns: ["
|
|
205
|
+
* await bg.verifyTable({ columns: ["RecordID", "Account Status", "Profile Status"] });
|
|
206
206
|
* await bg.verifyTable({ row: { Name: dbName }, cell: { "Account Status": dbStatus } });
|
|
207
207
|
*/
|
|
208
208
|
verifyTable(spec: TableAssertion): Promise<StepResult>;
|
package/dist/cjs/session.js
CHANGED
|
@@ -82,12 +82,12 @@ class Bubblegum {
|
|
|
82
82
|
* ```ts
|
|
83
83
|
* // Inside a WebdriverIO test, when a normal locator click fails:
|
|
84
84
|
* const bg = await Bubblegum.attachMobile({
|
|
85
|
-
* appiumUrl: "https://
|
|
85
|
+
* appiumUrl: "https://appium.example.com/wd/hub",
|
|
86
86
|
* existingSessionId: browser.sessionId,
|
|
87
87
|
* capabilities: { platformName: "iOS" },
|
|
88
88
|
* });
|
|
89
89
|
* try {
|
|
90
|
-
* await bg.act("Tap
|
|
90
|
+
* await bg.act("Tap Continue");
|
|
91
91
|
* } finally {
|
|
92
92
|
* await bg.close(); // closes the engine wrapper only; device session stays up
|
|
93
93
|
* }
|
|
@@ -165,8 +165,8 @@ class Bubblegum {
|
|
|
165
165
|
* when the visible text is dynamic (a UUID, a DB id) and so can't be named.
|
|
166
166
|
*
|
|
167
167
|
* @example
|
|
168
|
-
* await bg.clickInTable({ column: "
|
|
169
|
-
* await bg.clickInTable({ column: "
|
|
168
|
+
* await bg.clickInTable({ column: "RecordID", row: "first" });
|
|
169
|
+
* await bg.clickInTable({ column: "RecordID", rowMatch: { Name: dbName } });
|
|
170
170
|
*/
|
|
171
171
|
clickInTable(spec) {
|
|
172
172
|
const { column, row, rowMatch, timeoutMs } = spec;
|
|
@@ -203,7 +203,7 @@ class Bubblegum {
|
|
|
203
203
|
* inside a badge (expected is matched as a substring of the cell).
|
|
204
204
|
*
|
|
205
205
|
* @example
|
|
206
|
-
* await bg.verifyTable({ columns: ["
|
|
206
|
+
* await bg.verifyTable({ columns: ["RecordID", "Account Status", "Profile Status"] });
|
|
207
207
|
* await bg.verifyTable({ row: { Name: dbName }, cell: { "Account Status": dbStatus } });
|
|
208
208
|
*/
|
|
209
209
|
verifyTable(spec) {
|
package/dist/esm/session.d.ts
CHANGED
|
@@ -131,12 +131,12 @@ export declare class Bubblegum {
|
|
|
131
131
|
* ```ts
|
|
132
132
|
* // Inside a WebdriverIO test, when a normal locator click fails:
|
|
133
133
|
* const bg = await Bubblegum.attachMobile({
|
|
134
|
-
* appiumUrl: "https://
|
|
134
|
+
* appiumUrl: "https://appium.example.com/wd/hub",
|
|
135
135
|
* existingSessionId: browser.sessionId,
|
|
136
136
|
* capabilities: { platformName: "iOS" },
|
|
137
137
|
* });
|
|
138
138
|
* try {
|
|
139
|
-
* await bg.act("Tap
|
|
139
|
+
* await bg.act("Tap Continue");
|
|
140
140
|
* } finally {
|
|
141
141
|
* await bg.close(); // closes the engine wrapper only; device session stays up
|
|
142
142
|
* }
|
|
@@ -178,8 +178,8 @@ export declare class Bubblegum {
|
|
|
178
178
|
* when the visible text is dynamic (a UUID, a DB id) and so can't be named.
|
|
179
179
|
*
|
|
180
180
|
* @example
|
|
181
|
-
* await bg.clickInTable({ column: "
|
|
182
|
-
* await bg.clickInTable({ column: "
|
|
181
|
+
* await bg.clickInTable({ column: "RecordID", row: "first" });
|
|
182
|
+
* await bg.clickInTable({ column: "RecordID", rowMatch: { Name: dbName } });
|
|
183
183
|
*/
|
|
184
184
|
clickInTable(spec: TableCellTarget): Promise<StepResult>;
|
|
185
185
|
/**
|
|
@@ -202,7 +202,7 @@ export declare class Bubblegum {
|
|
|
202
202
|
* inside a badge (expected is matched as a substring of the cell).
|
|
203
203
|
*
|
|
204
204
|
* @example
|
|
205
|
-
* await bg.verifyTable({ columns: ["
|
|
205
|
+
* await bg.verifyTable({ columns: ["RecordID", "Account Status", "Profile Status"] });
|
|
206
206
|
* await bg.verifyTable({ row: { Name: dbName }, cell: { "Account Status": dbStatus } });
|
|
207
207
|
*/
|
|
208
208
|
verifyTable(spec: TableAssertion): Promise<StepResult>;
|
package/dist/esm/session.js
CHANGED
|
@@ -79,12 +79,12 @@ export class Bubblegum {
|
|
|
79
79
|
* ```ts
|
|
80
80
|
* // Inside a WebdriverIO test, when a normal locator click fails:
|
|
81
81
|
* const bg = await Bubblegum.attachMobile({
|
|
82
|
-
* appiumUrl: "https://
|
|
82
|
+
* appiumUrl: "https://appium.example.com/wd/hub",
|
|
83
83
|
* existingSessionId: browser.sessionId,
|
|
84
84
|
* capabilities: { platformName: "iOS" },
|
|
85
85
|
* });
|
|
86
86
|
* try {
|
|
87
|
-
* await bg.act("Tap
|
|
87
|
+
* await bg.act("Tap Continue");
|
|
88
88
|
* } finally {
|
|
89
89
|
* await bg.close(); // closes the engine wrapper only; device session stays up
|
|
90
90
|
* }
|
|
@@ -162,8 +162,8 @@ export class Bubblegum {
|
|
|
162
162
|
* when the visible text is dynamic (a UUID, a DB id) and so can't be named.
|
|
163
163
|
*
|
|
164
164
|
* @example
|
|
165
|
-
* await bg.clickInTable({ column: "
|
|
166
|
-
* await bg.clickInTable({ column: "
|
|
165
|
+
* await bg.clickInTable({ column: "RecordID", row: "first" });
|
|
166
|
+
* await bg.clickInTable({ column: "RecordID", rowMatch: { Name: dbName } });
|
|
167
167
|
*/
|
|
168
168
|
clickInTable(spec) {
|
|
169
169
|
const { column, row, rowMatch, timeoutMs } = spec;
|
|
@@ -200,7 +200,7 @@ export class Bubblegum {
|
|
|
200
200
|
* inside a badge (expected is matched as a substring of the cell).
|
|
201
201
|
*
|
|
202
202
|
* @example
|
|
203
|
-
* await bg.verifyTable({ columns: ["
|
|
203
|
+
* await bg.verifyTable({ columns: ["RecordID", "Account Status", "Profile Status"] });
|
|
204
204
|
* await bg.verifyTable({ row: { Name: dbName }, cell: { "Account Status": dbStatus } });
|
|
205
205
|
*/
|
|
206
206
|
verifyTable(spec) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bubblegum-ai/node",
|
|
3
|
-
"version": "0.0.6-alpha.
|
|
3
|
+
"version": "0.0.6-alpha.12",
|
|
4
4
|
"description": "Node/TypeScript client for the Bubblegum engine — drive AI-powered, natural-language Playwright/Appium test steps from JS/TS via the Bubblegum JSON-RPC bridge.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|