Change example tasks to fill prompt box when skyvern 2.0 is selected (#1630)

This commit is contained in:
Shuchang Zheng
2025-01-24 03:04:48 +08:00
committed by GitHub
parent 2956d4db0b
commit dbdf3a0919
4 changed files with 131 additions and 29 deletions

View File

@@ -430,7 +430,7 @@ export function getSample(sample: SampleCase) {
}
}
function generateUniqueEmail() {
export function generateUniqueEmail() {
// Define the characters to use for the random part
const chars = "abcdefghijklmnopqrstuvwxyz0123456789";
let randomString = "";
@@ -446,7 +446,7 @@ function generateUniqueEmail() {
return email;
}
function generatePhoneNumber() {
export function generatePhoneNumber() {
let phoneNumber = "";
// The first digit should be between 1 and 9 (it can't be 0)