Fix browser UI tests: Enable anonymous access for mosquitto 2 (#994)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: thomasnordquist <7721625+thomasnordquist@users.noreply.github.com>
This commit is contained in:
@@ -10,6 +10,12 @@ ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US:en
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
||||
# Configure mosquitto for anonymous access (required for tests)
|
||||
RUN mkdir -p /etc/mosquitto/conf.d && \
|
||||
echo "listener 1883" > /etc/mosquitto/conf.d/default.conf && \
|
||||
echo "allow_anonymous true" >> /etc/mosquitto/conf.d/default.conf && \
|
||||
echo "persistence false" >> /etc/mosquitto/conf.d/default.conf
|
||||
|
||||
# Install Playwright and browsers
|
||||
# This ensures Playwright browsers are pre-installed in the container
|
||||
RUN npm install -g playwright@1.57.0 && \
|
||||
|
||||
Reference in New Issue
Block a user