Skip to content

Commit f8ddaa8

Browse files
committed
fixed selector for login
1 parent 461ae34 commit f8ddaa8

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ RUN npm install -g pnpm
77
RUN pnpm install
88
RUN pnpm build
99

10-
FROM node:alpine
10+
FROM alpine:3.20
1111
WORKDIR /app
1212
COPY --from=stage /extension/dist ./

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ It allows users to:
3131

3232
Apps directory is set using the `WEB_ASSET_APPS_PATH` environment variable.
3333

34+
### Installating Md-Viewer to the oCIS Deployment
35+
36+
1. Navigate to the `deployments/examples/ocis_full/web_extensions` folder of your installation and copy [`mdviewer.yml`] into the [`web_extensions`](https://github.com/owncloud/ocis/tree/master/deployments/examples/ocis_full/web_extensions) subfolder.
37+
38+
2. Add `MDVIEWER=:web_extensions/mdviewer.yml` to the `## oCIS Web Extensions ##` section of the `.env` file of your installation (file is located in `deployments/examples/ocis_full`).\ Add that variable in the `COMPOSE_FILE` variable at the last line.
39+
3. Run `docker compose up` to run the extension with oCIS
40+
3441
## Creating Presentation
3542

3643
Please, refer to the [documentation](https://revealjs.com/markdown/) for more information about creating a presentation using markdown.
@@ -73,11 +80,3 @@ docker compose up
7380
```
7481

7582
oCIS URL: [localhost:9200](https://localhost:9200)
76-
77-
78-
### Adding Md-Viewer to the oCIS Deployment Example
79-
80-
1. Navigate to the `deployments/examples/ocis_full/web_extensions` folder of your installation and copy [`mdviewer.yml`] into the [`web_extensions`](https://github.com/owncloud/ocis/tree/master/deployments/examples/ocis_full/web_extensions) subfolder.
81-
82-
2. Add `MDVIEWER=:web_extensions/mdviewer.yml` to the `## oCIS Web Extensions ##` section of the `.env` file of your installation (file is located in `deployments/examples/ocis_full`).\ Add that variable in the `COMPOSE_FILE` variable at the last line.
83-
3. Run `docker compose up` to run the extension with oCIS

mdviewer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
condition: service_completed_successfully
88

99
md-viewer:
10-
image: jankaritechnepal/md-viewer:latest
10+
image: jankaritechnepal/md-viewer
1111
user: root
1212
volumes:
1313
- ocis-apps:/apps

tests/e2e/pageObjects/OcisPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Ocis {
77
this.loginFormSelector = '.oc-login-form'
88
this.usernameInputFieldSelector = '#oc-login-username'
99
this.passwordInputFieldSelector = '#oc-login-password'
10-
this.loginBtnSelector = '.jss8 .oc-button-primary'
10+
this.loginBtnSelector = 'button[type="submit"]'
1111
this.filesContainerSelector = '#files-view'
1212
this.contextMenuBtnSelector = '.resource-table-btn-action-dropdown'
1313
this.openInPresentationViewerBtnSelector = '.oc-files-actions-presentation-viewer-trigger'

0 commit comments

Comments
 (0)