Skip to content

Commit

Permalink
Merge branch 'main' into fix-slateWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 authored Feb 7, 2025
2 parents 9b0580b + 43df0e9 commit 1bc8466
Show file tree
Hide file tree
Showing 25 changed files with 59 additions and 34 deletions.
1 change: 1 addition & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ build:
# Install dependencies defined in your ``package.json``
# - npm ci
# Install any other extra dependencies to build the docs
- npm i -g corepack@latest
- corepack enable
- corepack prepare pnpm@* --activate
- asdf reshim nodejs
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ plone5-acceptance-backend-start: ## Start backend acceptance server for Plone 5

.PHONY: acceptance-server-detached-start
acceptance-server-detached-start: ## Starts test acceptance server main fixture in detached mode (daemon)
docker run -d --name plone-client-acceptance-server -i --rm -p 55001:55001 $(DOCKER_IMAGE_ACCEPTANCE)
docker run -d --name plone-client-acceptance-server -i --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default,plone.app.discussion:default $(DOCKER_IMAGE_ACCEPTANCE)

.PHONY: acceptance-server-detached-stop
acceptance-server-detached-stop: ## Stop test acceptance server main fixture in detached mode (daemon)
Expand Down
1 change: 1 addition & 0 deletions packages/client/news/6682.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Test with Plone 6.1.0rc1. @sneridagh
3 changes: 2 additions & 1 deletion packages/client/src/restapi/aliases/get.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ const cli = ploneClient.initialize({
apiPath: 'http://localhost:55001/plone',
});

const { getAliasesQuery } = cli;
const { login, getAliasesQuery } = cli;
await login({ username: 'admin', password: 'secret' });

describe('[GET] Aliases', () => {
test('Hook - Successful', async () => {
Expand Down
3 changes: 2 additions & 1 deletion packages/client/src/restapi/aliases/get_list.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ const cli = ploneClient.initialize({
apiPath: 'http://localhost:55001/plone',
});

const { getAliasesListQuery } = cli;
const { login, getAliasesListQuery } = cli;
await login({ username: 'admin', password: 'secret' });

describe('[GET] AliasesList', () => {
test('Hook - Successful', async () => {
Expand Down
10 changes: 5 additions & 5 deletions packages/client/src/restapi/content/get.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('[GET] Content', () => {

await waitFor(() => expect(result.current.isSuccess).toBe(true));

expect(result.current.data?.title).toBe('Welcome to Plone 6!');
expect(result.current.data?.title).toBe('Welcome to Plone');
});

test('Hook - Failure', async () => {
Expand All @@ -41,7 +41,7 @@ describe('[GET] Content', () => {

await waitFor(() => expect(result.current.isSuccess).toBe(true));

expect(result.current.data?.title).toBe('Welcome to Plone 6!');
expect(result.current.data?.title).toBe('Welcome to Plone');
});

test('Hook - expand', async () => {
Expand All @@ -59,7 +59,7 @@ describe('[GET] Content', () => {

await waitFor(() => expect(result.current.isSuccess).toBe(true));

expect(result.current.data?.title).toBe('Welcome to Plone 6!');
expect(result.current.data?.title).toBe('Welcome to Plone');
expect(
result.current.data?.['@components']?.breadcrumbs?.items,
).toStrictEqual([]);
Expand Down Expand Up @@ -90,7 +90,7 @@ describe('[GET] Content', () => {

await waitFor(() => expect(result.current.isSuccess).toBe(true));

expect(result.current.data?.title).toBe('Welcome to Plone 6!');
expect(result.current.data?.title).toBe('Welcome to Plone');
});

test.skip('Hook - fullObjects && version', async () => {
Expand All @@ -106,7 +106,7 @@ describe('[GET] Content', () => {

await waitFor(() => expect(result.current.isSuccess).toBe(true));

expect(result.current.data?.title).toBe('Welcome to Plone 6!');
expect(result.current.data?.title).toBe('Welcome to Plone');
});
});

Expand Down
4 changes: 3 additions & 1 deletion packages/client/src/restapi/history/get.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ describe('[GET] History', () => {

await waitFor(() => expect(result.current.isSuccess).toBe(true));

expect(result.current.data?.[0].action).toBe('Create');
expect(result.current.data?.[result.current.data?.length - 1].action).toBe(
'Create',
);
});

test('Hook - Failure', async () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ help: ## This help message

.PHONY: start-test-acceptance-server
start-test-acceptance-server: ## Start Test Acceptance Server Main Fixture (docker container)
docker run -i --rm -d -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e ADDONS='$(TESTING_ADDONS)' -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default-homepage -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors $(DOCKER_IMAGE) ./bin/robot-server plone.app.robotframework.testing.VOLTO_ROBOT_TESTING
docker run -i --rm -d -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e ADDONS='$(TESTING_ADDONS)' -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors $(DOCKER_IMAGE) ./bin/robot-server plone.app.robotframework.testing.VOLTO_ROBOT_TESTING

.PHONY: build-storybook
build-storybook: ## Build Storybook
Expand Down
1 change: 1 addition & 0 deletions packages/components/news/6682.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Test with Plone 6.1.0rc1. @sneridagh
6 changes: 3 additions & 3 deletions packages/generator-volto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ yo @plone/volto
```

This will bootstrap a new Volto project inside the current folder.
It will ask a few questions for the project name, project description, and a list of add-ons.
It will ask a few questions for the project name, project description, and a list of add-ons.

Run:

Expand Down Expand Up @@ -66,7 +66,7 @@ Arguments:

to see a full list of options and arguments.

> [!NOTE]
> [!NOTE]
> In addition to the Volto project, the generator creates a theme add-on inside `src/addons` with the default name of `volto-[<project-name>]`.
> You can provide a specific name for the theme add-on that is created on project generation like:
> ```shell
Expand Down Expand Up @@ -183,7 +183,7 @@ Please note that you have to run a Plone backend as well.
E.g. with docker:
```shell
docker run -it --rm --name=plone -p 8080:8080 -e SITE=Plone -e PROFILES="plone.volto:default-homepage" plone/plone-backend:6.0.8
docker run -it --rm --name=plone -p 8080:8080 -e SITE=Plone -e PROFILES="plone.volto:default" plone/plone-backend:6.1.0rc1
```
Consult the [Plone frontend Volto documentation](https://6.docs.plone.org/volto/index.html) for further details.
Expand Down
2 changes: 1 addition & 1 deletion packages/generator-volto/generators/app/templates/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ start-test-acceptance-server start-test-backend : ## Start Test Plone Backend
@echo "$(GREEN)==> Start Test Plone Backend$(RESET)"
docker run -i --rm -p 55001:55001 $(DOCKER_IMAGE_ACCEPTANCE)
## KGS in case you need a Plone 5.2 series (comment/remove above line):
# docker run -i --rm -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e ADDONS='$(KGS5) $(TESTING_ADDONS)' -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default-homepage -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors $(DOCKER_IMAGE5) ./bin/robot-server plone.app.robotframework.testing.VOLTO_ROBOT_TESTING
# docker run -i --rm -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e ADDONS='$(KGS5) $(TESTING_ADDONS)' -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors $(DOCKER_IMAGE5) ./bin/robot-server plone.app.robotframework.testing.VOLTO_ROBOT_TESTING

.PHONY: start-test-acceptance-frontend
start-test-acceptance-frontend: ## Start the Acceptance Frontend Fixture
Expand Down
1 change: 1 addition & 0 deletions packages/generator-volto/news/6682.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Test with Plone 6.1.0rc1. @sneridagh
2 changes: 1 addition & 1 deletion packages/scripts/check_deployment.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import http from 'http';
import waitOn from 'wait-on';

const url = new URL('http://localhost:3000'); // replace with your service URL
const searchString = 'Welcome to Plone'; // replace with the string you want to search for
const searchString = 'Plone Site'; // replace with the string you want to search for

// Wait for the service to be available
waitOn({ resources: [url.href] })
Expand Down
1 change: 1 addition & 0 deletions packages/scripts/news/6682.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Test with Plone 6.1.0rc1. @sneridagh
14 changes: 8 additions & 6 deletions packages/seven/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,17 @@ acceptance-frontend-dev-start: ## Start acceptance frontend in development mode

.PHONY: acceptance-backend-start
acceptance-backend-start: ## Start backend acceptance server
#docker run -it --rm -p 55001:55001 $(DOCKER_IMAGE_ACCEPTANCE)
# docker run -it --rm -p 55001:55001 $(DOCKER_IMAGE_ACCEPTANCE)
docker run -it --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default $(DOCKER_IMAGE_ACCEPTANCE)
# Uncomment next line and comment line above to use a custom image with the acceptance server (in case you need to use an specific backend add-on or version)
docker run -it --rm -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e ADDONS='$(KGS) $(TESTING_ADDONS)' -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default-homepage -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors $(DOCKER_IMAGE) ./bin/robot-server plone.app.robotframework.testing.VOLTO_ROBOT_TESTING
# docker run -it --rm -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e ADDONS='$(KGS) $(TESTING_ADDONS)' -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors $(DOCKER_IMAGE) ./bin/robot-server plone.app.robotframework.testing.VOLTO_ROBOT_TESTING

.PHONY: ci-acceptance-backend-start
ci-acceptance-backend-start: ## Start backend acceptance server in headless mode for CI
docker run -i --rm -p 55001:55001 $(DOCKER_IMAGE_ACCEPTANCE)
# docker run -i --rm -p 55001:55001 $(DOCKER_IMAGE_ACCEPTANCE)
docker run -i --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default $(DOCKER_IMAGE_ACCEPTANCE)
# Uncomment next line and comment line above to use a custom image with the acceptance server (in case you need to use an specific backend add-on or version)
# docker run -i --rm -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e ADDONS='$(KGS) $(TESTING_ADDONS)' -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default-homepage -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors $(DOCKER_IMAGE) ./bin/robot-server plone.app.robotframework.testing.VOLTO_ROBOT_TESTING
# docker run -i --rm -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e ADDONS='$(KGS) $(TESTING_ADDONS)' -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors $(DOCKER_IMAGE) ./bin/robot-server plone.app.robotframework.testing.VOLTO_ROBOT_TESTING

.PHONY: acceptance-frontend-prod-start
acceptance-frontend-prod-start: build-deps ## Start acceptance frontend in production mode
Expand Down Expand Up @@ -185,7 +187,7 @@ project-acceptance-frontend-prod-start: build-deps ## Start acceptance frontend

.PHONY: coresandbox-acceptance-backend-start
coresandbox-acceptance-backend-start: ## Start backend acceptance server for core sandbox tests
docker run -i --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default-homepage,plone.volto:coresandbox -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors,plone.volto.coresandbox $(DOCKER_IMAGE_ACCEPTANCE)
docker run -i --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default,plone.volto:coresandbox -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors,plone.volto.coresandbox $(DOCKER_IMAGE_ACCEPTANCE)

.PHONY: coresandbox-acceptance-frontend-prod-start
coresandbox-acceptance-frontend-prod-start: build-deps ## Start acceptance frontend in production mode for core sandbox tests
Expand Down Expand Up @@ -255,7 +257,7 @@ deployment-multilingual-ci-acceptance-test-run-all: ## With a single command, ru

.PHONY: working-copy-acceptance-backend-start
working-copy-acceptance-backend-start: ## Start backend acceptance server for working copy tests
docker run -i --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.app.iterate:default,plone.volto:default-homepage $(DOCKER_IMAGE_ACCEPTANCE)
docker run -i --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.app.iterate:default,plone.volto:default $(DOCKER_IMAGE_ACCEPTANCE)

.PHONY: working-copy-acceptance-frontend-prod-start
working-copy-acceptance-frontend-prod-start: build-deps ## Start acceptance frontend in production mode for working copy tests
Expand Down
2 changes: 1 addition & 1 deletion packages/seven/cypress/tests/core/basic/basic.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ describe('Basic Cypress Test', () => {
it('should visit the root URL', () => {
cy.visit('/');
cy.url().should('eq', Cypress.config().baseUrl + '/');
cy.contains('Welcome to Plone 6');
cy.contains('Plone');
});

it('html tag has the lang attr', () => {
Expand Down
1 change: 1 addition & 0 deletions packages/seven/news/6682.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Test with Plone 6.1.0rc1. @sneridagh
14 changes: 8 additions & 6 deletions packages/volto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,17 @@ acceptance-frontend-dev-start: ## Start acceptance frontend in development mode

.PHONY: acceptance-backend-start
acceptance-backend-start: ## Start backend acceptance server
docker run -it --rm -p 55001:55001 $(DOCKER_IMAGE_ACCEPTANCE)
# docker run -it --rm -p 55001:55001 $(DOCKER_IMAGE_ACCEPTANCE)
docker run -it --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default,plone.app.discussion:default $(DOCKER_IMAGE_ACCEPTANCE)
# Uncomment next line and comment line above to use a custom image with the acceptance server (in case you need to use an specific backend add-on or version)
# docker run -it --rm -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e ADDONS='$(KGS) $(TESTING_ADDONS)' -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default-homepage -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors $(DOCKER_IMAGE) ./bin/robot-server plone.app.robotframework.testing.VOLTO_ROBOT_TESTING
# docker run -it --rm -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e ADDONS='$(KGS) $(TESTING_ADDONS)' -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors $(DOCKER_IMAGE) ./bin/robot-server plone.app.robotframework.testing.VOLTO_ROBOT_TESTING

.PHONY: ci-acceptance-backend-start
ci-acceptance-backend-start: ## Start backend acceptance server in headless mode for CI
docker run -i --rm -p 55001:55001 $(DOCKER_IMAGE_ACCEPTANCE)
# docker run -i --rm -p 55001:55001 $(DOCKER_IMAGE_ACCEPTANCE)
docker run -i --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default,plone.app.discussion:default $(DOCKER_IMAGE_ACCEPTANCE)
# Uncomment next line and comment line above to use a custom image with the acceptance server (in case you need to use an specific backend add-on or version)
# docker run -i --rm -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e ADDONS='$(KGS) $(TESTING_ADDONS)' -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default-homepage -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors $(DOCKER_IMAGE) ./bin/robot-server plone.app.robotframework.testing.VOLTO_ROBOT_TESTING
# docker run -i --rm -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e ADDONS='$(KGS) $(TESTING_ADDONS)' -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors $(DOCKER_IMAGE) ./bin/robot-server plone.app.robotframework.testing.VOLTO_ROBOT_TESTING

.PHONY: acceptance-frontend-prod-start
acceptance-frontend-prod-start: build-deps ## Start acceptance frontend in production mode
Expand Down Expand Up @@ -178,7 +180,7 @@ project-acceptance-frontend-prod-start: build-deps ## Start acceptance frontend

.PHONY: coresandbox-acceptance-backend-start
coresandbox-acceptance-backend-start: ## Start backend acceptance server for core sandbox tests
docker run -i --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default-homepage,plone.volto:coresandbox -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors,plone.volto.coresandbox $(DOCKER_IMAGE_ACCEPTANCE)
docker run -i --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default,plone.volto:coresandbox -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors,plone.volto.coresandbox $(DOCKER_IMAGE_ACCEPTANCE)

.PHONY: coresandbox-acceptance-frontend-prod-start
coresandbox-acceptance-frontend-prod-start: build-deps ## Start acceptance frontend in production mode for core sandbox tests
Expand Down Expand Up @@ -248,7 +250,7 @@ deployment-multilingual-ci-acceptance-test-run-all: ## With a single command, ru

.PHONY: working-copy-acceptance-backend-start
working-copy-acceptance-backend-start: ## Start backend acceptance server for working copy tests
docker run -i --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.app.iterate:default,plone.volto:default-homepage $(DOCKER_IMAGE_ACCEPTANCE)
docker run -i --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.app.iterate:default,plone.volto:default $(DOCKER_IMAGE_ACCEPTANCE)

.PHONY: working-copy-acceptance-frontend-prod-start
working-copy-acceptance-frontend-prod-start: build-deps ## Start acceptance frontend in production mode for working copy tests
Expand Down
10 changes: 10 additions & 0 deletions packages/volto/cypress/tests/core/basic/a11y.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ describe('Accessibility Tests', () => {
});

it('Front page has not a11y violations', () => {
cy.configureAxe({
rules: [
// Disabled until we fix robotframework to install the volto distribution
// with example content
{
id: 'page-has-heading-one',
enabled: false,
},
],
});
cy.checkA11y(); // fail for a11y violations
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,6 @@ describe('Listing Block Tests', () => {
);

//add listing block
cy.scrollTo('bottom');
cy.getSlate().click();
cy.get('.ui.basic.icon.button.block-add-button').click();
cy.get('.ui.basic.icon.button.listing').contains('Listing').click();
Expand Down
2 changes: 1 addition & 1 deletion packages/volto/cypress/tests/workingCopy/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ describe('Working Copy Tests - Create', () => {
it('Portal root has create option', function () {
cy.visit('/');
cy.get('#toolbar-more').click();
cy.get('.menu-more').contains('Create working copy').should('not.exist');
cy.get('.menu-more').contains('Create working copy').should('exist');
});
});
4 changes: 2 additions & 2 deletions packages/volto/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ version: '3.3'
services:

backend:
image: plone/plone-backend:6.0.5
image: plone/plone-backend:6.1.0rc1
# Plone 5.2 series can be used too
# image: plone/plone-backend:5.2.10
ports:
- '8080:8080'
environment:
- SITE=Plone
- 'PROFILES=plone.volto:default-homepage'
- 'PROFILES=plone.volto:default'
labels:
- traefik.enable=true
# SERVICE
Expand Down
1 change: 1 addition & 0 deletions packages/volto/news/6682.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Test with Plone 6.1.0rc1. @sneridagh
1 change: 1 addition & 0 deletions packages/volto/news/6684.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix documentation build at Read the Docs. @sneridagh
4 changes: 2 additions & 2 deletions variables.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
INSTANCE_PORT=8080
DOCKER_IMAGE=plone/server-dev:6.0.13
DOCKER_IMAGE_ACCEPTANCE=plone/server-acceptance:6.0.13
DOCKER_IMAGE=plone/server-dev:6.1.0rc1
DOCKER_IMAGE_ACCEPTANCE=plone/server-acceptance:6.1.0rc1
KGS=
NODEBIN = ./node_modules/.bin
SCRIPTSPACKAGE = ./packages/scripts
Expand Down

0 comments on commit 1bc8466

Please sign in to comment.