Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feature/36 latest #1489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
26d115f
Update docker-images.yml
Flowerappeng-org Sep 18, 2024
593db19
Introducing OpenFlower
bitwebsvc Sep 22, 2024
e7e4e4e
Introducing OpenFlower
bitwebsvc Sep 22, 2024
000ecfb
Merge pull request #1 from Flowerappeng-org/feature/openflower-start
Flowerappeng-org Sep 24, 2024
ffaff33
Update README.md
Flowerappeng-org Sep 24, 2024
cb1a073
Update README.md
Flowerappeng-org Sep 24, 2024
45788a7
Doc changes for OpenFlower
bitwebsvc Oct 1, 2024
bd12d96
Merge pull request #2 from Flowerappeng-org/feature/docs-update
Flowerappeng-org Oct 1, 2024
23f9c70
testing one docker build
bitwebsvc Oct 1, 2024
ed9e504
Merge pull request #3 from Flowerappeng-org/feature/docs-update
Flowerappeng-org Oct 1, 2024
1d53325
testing docker buildx
bitwebsvc Oct 1, 2024
e9d2528
Merge pull request #4 from Flowerappeng-org/feature/docs-update
Flowerappeng-org Oct 2, 2024
ba82eb1
updated github action
bitwebsvc Oct 2, 2024
93128b6
Merge pull request #5 from Flowerappeng-org/feature/docs-update
Flowerappeng-org Oct 2, 2024
58f46b7
doc updates
bitwebsvc Oct 2, 2024
aa021cf
doc updates
bitwebsvc Oct 2, 2024
21666f5
Merge pull request #6 from Flowerappeng-org/feature/docs-update
Flowerappeng-org Oct 2, 2024
7b6c074
doc updates
bitwebsvc Oct 2, 2024
d898fd4
Merge pull request #7 from Flowerappeng-org/feature/docs-update
Flowerappeng-org Oct 2, 2024
8fc8a79
doc updates
bitwebsvc Oct 2, 2024
0685ace
Merge pull request #8 from Flowerappeng-org/feature/docs-update
Flowerappeng-org Oct 2, 2024
6b41bbc
docs updates
bitwebsvc Oct 3, 2024
c8cfc10
Merge pull request #9 from Flowerappeng-org/feature/docs-update
Flowerappeng-org Oct 3, 2024
ad32c26
#10 - Rebrand to OpenFlower
janishernandez Oct 25, 2024
8b468ce
Merge pull request #11 from Flowerappeng-org/feature/10-rebrand-docs
janishernandez Oct 26, 2024
fa7455b
10 - Cleanup README.md
janishernandez Oct 27, 2024
e4285af
Merge pull request #12 from Flowerappeng-org/feature/10-readme
janishernandez Oct 27, 2024
0f3b66c
10 - Cleanup README.md
janishernandez Oct 27, 2024
d0126de
10 - Cleanup README.md
janishernandez Oct 27, 2024
fb18b8f
Merge pull request #13 from Flowerappeng-org/feature/10-readme
janishernandez Oct 27, 2024
5eb7fc9
Branding changes
janishernandez Nov 8, 2024
c6f4468
Merge pull request #19 from Flowerappeng-org/feature/10-branding-changes
janishernandez Nov 8, 2024
0db34f3
Merge branch 'main' into feature/test-up
janishernandez Nov 9, 2024
65917a3
Merge pull request #21 from Flowerappeng-org/feature/test-up
Flowerappeng-org Nov 10, 2024
201502d
#10 branding changes
janishernandez Nov 10, 2024
ca2274e
Merge pull request #22 from Flowerappeng-org/feature/10-branding-news...
janishernandez Nov 10, 2024
225c35b
#23 - Enable Developer Network in OpenFlower
bitwebsvc Nov 11, 2024
918249b
#23 - Enable Developer Network in OpenFlower
bitwebsvc Nov 11, 2024
cbdf42b
Merge pull request #24 from Flowerappeng-org/feature/23-developer-net...
janishernandez Nov 12, 2024
69a3370
#10 change docker images
janishernandez Nov 12, 2024
0fc60e8
Merge pull request #25 from Flowerappeng-org/feature/10-branding-dock...
janishernandez Nov 12, 2024
3c03950
#20 mongo version revert
bitwebsvc Nov 13, 2024
25dd557
Merge pull request #26 from Flowerappeng-org/feature/20-mongo-revert
Flowerappeng-org Nov 13, 2024
eaad516
#10 update docs
bitwebsvc Nov 13, 2024
62d2a8b
#10 update docs
bitwebsvc Nov 13, 2024
72ab402
Merge pull request #27 from Flowerappeng-org/feature/10-branding-docs
Flowerappeng-org Nov 13, 2024
4887dda
#10 update docs
bitwebsvc Nov 13, 2024
ddc065a
Merge pull request #28 from Flowerappeng-org/feature/10-branding-docs
Flowerappeng-org Nov 13, 2024
6ae9a72
#29 - rebrand
janishernandez Nov 14, 2024
f64f40a
Merge pull request #30 from Flowerappeng-org/feature/29-rebrand
janishernandez Nov 14, 2024
31ac84a
playwright e2e for signup
bitwebsvc Dec 2, 2024
bead16d
fixes
bitwebsvc Dec 2, 2024
7a817d4
fixes
bitwebsvc Dec 2, 2024
53ae3dc
fixes
bitwebsvc Dec 2, 2024
79d4ee5
fixes
bitwebsvc Dec 2, 2024
1b257fa
Merge pull request #33 from Flowerappeng-org/feature/17-e2e
Flowerappeng-org Dec 2, 2024
3956224
refactor ui automation
bitwebsvc Dec 2, 2024
af7adac
package lock
bitwebsvc Dec 2, 2024
9e7ba49
run smoke tests on schdule
bitwebsvc Dec 3, 2024
d7b6fb5
Merge pull request #34 from Flowerappeng-org/feature/17-e2e
Flowerappeng-org Dec 3, 2024
afb0891
Merge pull request #1375 from lowcoder-org/dev
FalkWolsky Dec 4, 2024
5cdf061
Merge pull request #1406 from lowcoder-org/dev
FalkWolsky Dec 20, 2024
100d845
Merge pull request #1411 from lowcoder-org/dev
FalkWolsky Dec 23, 2024
73ad9ee
Merge pull request #1458 from lowcoder-org/dev
FalkWolsky Jan 22, 2025
a646729
Merge remote-tracking branch 'upstream/main' into feature/36-latest
bitwebsvc Feb 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Playwright Tests
name: Playwright OpenFlower Smoke Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
schedule:
- cron: "*/59 * * * *"
jobs:
test:
timeout-minutes: 60
Expand All @@ -14,11 +16,11 @@ jobs:
with:
node-version: lts/*
- name: Install dependencies
run: cd e2e && npm ci
run: cd uiautomation/smoke_tests && npm ci
- name: Install Playwright Browsers
run: cd e2e && npx playwright install --with-deps
run: cd uiautomation/smoke_tests && npx playwright install --with-deps
- name: Run Playwright tests
run: cd e2e && npx playwright test
run: cd uiautomation/smoke_tests && npx playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ client/.yarn/cache/*.zip
server/node-service/.yarn/cache/*.zip
.metadata/
.DS_Store
uiautomation/smoke_tests/node_modules/
uiautomation/e2e/node_modules/
client/node_modules/
client/packages/lowcoder-plugin-demo/.yarn/install-state.gz
client/packages/lowcoder-plugin-demo/yarn.lock
Expand Down
44 changes: 0 additions & 44 deletions e2e/tests/login/login.spec.ts
View file Open in desktop

This file was deleted.

4 changes: 4 additions & 0 deletions test-results/.last-run.json
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"status": "failed",
"failedTests": []
}
1 change: 1 addition & 0 deletions uiautomation/e2e/.gitbook.yaml
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
root: ./docs/
21 changes: 21 additions & 0 deletions uiautomation/e2e/.gitignore
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.idea/
logs/
stacks/
client/.yarn/cache/*.zip
server/node-service/.yarn/cache/*.zip
.metadata/
.DS_Store
client/node_modules/
client/packages/lowcoder-plugin-demo/.yarn/install-state.gz
client/packages/lowcoder-plugin-demo/yarn.lock
client/packages/lowcoder-plugin-demo/.yarn/cache/@types-node-npm-16.18.68-56f72825c0-094ae9ed80.zip
application-dev.yml
application-lowcoder.yml
application-debug.yaml
application-dev-localhost.yaml
.vscode/settings.json
.vscode/launch.json
server/api-service/lowcoder-server/src/main/resources/application-local-dev.yaml
translations/locales/node_modules/
.vscode/settings.json
deploy/docker/openflower-stacks/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
40 changes: 40 additions & 0 deletions uiautomation/e2e/tests/login/login.spec.ts
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import { test, expect } from '@playwright/test';
import TestConfigData from '../api/TestDataConfig';
import { Account } from '../api/account';
import Strings from '../api/Strings';

test('Login with success', async ({ page }) => {
const host = TestConfigData.PortalHost;
await page.goto(host);

// Register and then Login
const username = 'openfloweruser1@bitwebsvc.net';
const password = '12345password';

await page.getByPlaceholder('Please enter your email').click();
await page.getByPlaceholder('Please enter your email').fill(username);
await page.getByPlaceholder('Please enter your email').press('Tab');
await page.getByPlaceholder('Please enter your password').fill(password);
await page.getByRole('button', { name: 'Sign In' }).click();
// await page.getByTitle('abc_1111@bitwebsvc.net').click();
// await page.locator('polygon').click();
// await page.getByRole('dialog').locator('line').nth(1).click();

// const account = new Account(page);
// const tempId = Strings.MakeId(4)
// const tempPassword = Strings.MakeId(9);
// const username = 'u_' + tempId + '@bitwebsvc.net';
// const name = 'Janis Herdez-'+tempId;
// const companyName = 'Herdez-'+tempId;
// await account.Signup(username, username,tempPassword,name,companyName);

// await page.goto(host + 'auth-login');

// //await page.getByRole('link', { name: 'Sign in' }).click();
// // register an account, and then activate account. then use the activated account to login
// const login = new Account(page);
// await login.Login(username,tempPassword,name);

// // Expects page to have a heading with the name of Installation.
// await expect(page.getByRole('heading', { name: 'Installation' })).toBeVisible();
});
54 changes: 54 additions & 0 deletions uiautomation/smoke_tests/.gitignore
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/packages/*/node_modules
/packages/*/dist
/packages/*/tsdoc-metadata.json
/.pnp
.pnp.js

# testing
/**/coverage


# production
/build
/packages/lowcoder/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

/out
/public/fonts/*
/src/assets/icons/fonts/*
.idea
.storybook-out/
cypress/videos
cypress/screenshots
/cypress.env.json

storybook-static/*
build-storybook.log

TODO

.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

/ossutil_output

op.mjs
13 changes: 13 additions & 0 deletions uiautomation/smoke_tests/README.md
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Run all the tests

`npx playwright test`

# Run a single test file

`npx playwright test tests/login/login.spec.ts`

# How do I see a report?
`npx playwright show-report`

# Learn more about Playwright command line options
`https://playwright.dev/docs/test-cli`
91 changes: 91 additions & 0 deletions uiautomation/smoke_tests/package-lock.json
View file Open in desktop

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions uiautomation/smoke_tests/package.json
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "ui-automation",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {},
"keywords": [],
"author": "John Haigh",
"license": "ISC",
"devDependencies": {
"@playwright/test": "^1.48.0",
"@types/node": "^20.14.2"
}
}
Loading

AltStyle によって変換されたページ (->オリジナル) /