Skip to content

Commit c0db464

Browse files
authored
regresssion tests vietnamese (#2164)
2 parents da09956 + b2b795b commit c0db464

File tree

5 files changed

+41
-10
lines changed

5 files changed

+41
-10
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Maven Regression Tests (vie.elimu.ai)
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
test_rest:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-java@v4
15+
with:
16+
distribution: 'temurin'
17+
java-version: 17
18+
cache: maven
19+
- run: mvn verify -P regression-test-rest -D base.url=http://vie.elimu.ai
20+
21+
test_ui:
22+
needs: test_rest
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v4
26+
- uses: actions/setup-java@v4
27+
with:
28+
distribution: 'temurin'
29+
java-version: 17
30+
cache: maven
31+
- run: mvn verify -P regression-test-ui -D base.url=http://vie.elimu.ai -D headless=true

INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ See [`TEST.md`](./TEST.md)
4343

4444
## Prod server
4545

46-
https://<language>.elimu.ai
46+
http://<language>.elimu.ai
4747

4848
> [!NOTE]
4949
> See instructions for deploying the webapp on a production server in [`src/main/config/DEPLOY.md`](./src/main/config/DEPLOY.md).

LOCALIZE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ See https://github.com/elimu-ai/wiki/blob/main/LOCALIZATION.md
1313

1414
## Adding Educational Content
1515

16-
The examples below use the Xhosa language as an example. If you will adding content using another language, simply replace `xho` in the URL with your language of choice.
16+
The examples below use the Xhosa language as an example. If you will adding content using another language, simply replace `eng` in the URL with your language of choice.
1717

1818
### Adding Words
1919

2020
Follow these steps to add a new word to the webapp's database:
2121

22-
1. Go to https://xho.elimu.ai/content/word/list
22+
1. Go to http://eng.elimu.ai/content/word/list
2323

2424
1. Press the "Add word" button:
2525

@@ -49,7 +49,7 @@ Follow these steps to add a new word to the webapp's database:
4949

5050
One strategy is to add words used in a particular storybook:
5151

52-
1. Go to https://xho.elimu.ai/content/storybook/list and open a storybook that you want to add words for.
52+
1. Go to http://eng.elimu.ai/content/storybook/list and open a storybook that you want to add words for.
5353

5454
1. In the sidebar you'll see a word frequency list:
5555

@@ -65,7 +65,7 @@ One strategy is to add words used in a particular storybook:
6565

6666
Another strategy for adding words is to go to the "Words Pending" page, where you can find a list of the most used words across _all storybooks_:
6767

68-
1. Go to https://xho.elimu.ai/content/word/pending
68+
1. Go to http://eng.elimu.ai/content/word/pending
6969

7070
<img width="1025" src="https://user-images.githubusercontent.com/15718174/101676596-0af68200-3a64-11eb-9e2c-5087e1c8f6d9.png">
7171

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# elimu.ai Webapp
2-
31
[![jitpack](https://jitpack.io/v/ai.elimu/webapp.svg)](https://jitpack.io/#ai.elimu/webapp)
42
[![maven build](https://github.com/elimu-ai/webapp/actions/workflows/maven-build.yml/badge.svg)](https://github.com/elimu-ai/webapp/actions/workflows/maven-build.yml)
53
[![codecov](https://codecov.io/gh/elimu-ai/webapp/branch/main/graph/badge.svg?token=T1F9OTQVOH)](https://codecov.io/gh/elimu-ai/webapp)
@@ -8,6 +6,8 @@
86
[![contributors](https://img.shields.io/github/contributors/elimu-ai/webapp)](https://github.com/elimu-ai/webapp/graphs/contributors)
97
[![closed issues](https://img.shields.io/github/issues-closed/elimu-ai/webapp)](https://github.com/elimu-ai/webapp/issues?q=is%3Aissue+is%3Aclosed)
108

9+
# elimu.ai Webapp
10+
1111
Deployments in production:
1212

1313
* http://hin.elimu.ai - Hindi database content
@@ -16,7 +16,7 @@ Deployments in production:
1616
* http://vie.elimu.ai - Vietnamese database content
1717
* http://eng.elimu.ai - English database content
1818

19-
[<kbd>![](https://github.com/elimu-ai/webapp/assets/15718174/32f3c339-aacc-4dc1-9692-c9435bc63d57)</kbd>](https://hin.elimu.ai)
19+
[<kbd>![](https://github.com/elimu-ai/webapp/assets/15718174/32f3c339-aacc-4dc1-9692-c9435bc63d57)</kbd>](http://hin.elimu.ai)
2020

2121
This web application hosts Android apps and educational content (e.g. texts, words, videos, storybooks) for each supported language. Via the [elimu.ai Appstore](https://github.com/elimu-ai/appstore) application, the educational apps and content are downloaded from the website and installed on Android devices.
2222

TEST.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Then, in another terminal window run all the regression tests against the REST A
3434
> [!TIP]
3535
> If you want to run the tests against another URL, set the `base.url` system property:
3636
>
37-
> mvn verify -P regression-test-rest -D base.url=https://eng.elimu.ai
37+
> mvn verify -P regression-test-rest -D base.url=http://eng.elimu.ai
3838
3939
#### UI
4040

@@ -49,7 +49,7 @@ Then, in another terminal window run all the regression tests against the UI:
4949
> [!TIP]
5050
> If you want to run the tests against another URL, set the `base.url` system property:
5151
>
52-
> mvn verify -P regression-test-ui -D base.url=https://eng.elimu.ai
52+
> mvn verify -P regression-test-ui -D base.url=http://eng.elimu.ai
5353
5454
##### Headless 😶‍🌫️
5555

0 commit comments

Comments
 (0)