1"use strict";(self.webpackChunkuser_handbook=self.webpackChunkuser_handbook||[]).push([[7594],{9970:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>g,frontMatter:()=>s,metadata:()=>r,toc:()=>l});var i=n(5893),a=n(1151);const s={title:"Notes on Cwtch UI Testing",description:"In this development log we provide an update on automated UI integration testing!",slug:"cwtch-testing-i",tags:["cwtch","cwtch-stable","support","testing"],image:"/img/devlog5_small.png",hide_table_of_contents:!1,toc_max_heading_level:4,authors:[{name:"Sarah Jamie Lewis",title:"Executive Director, Open Privacy Research Society",image_url:"/img/sarah.jpg"}]},o=void 0,r={permalink:"/blog/cwtch-testing-i",source:"@site/blog/2023-02-03-cwtch-testing-i.md",title:"Notes on Cwtch UI Testing",description:"In this development log we provide an update on automated UI integration testing!",date:"2023-02-03T00:00:00.000Z",formattedDate:"February 3, 2023",tags:[{label:"cwtch",permalink:"/blog/tags/cwtch"},{label:"cwtch-stable",permalink:"/blog/tags/cwtch-stable"},{label:"support",permalink:"/blog/tags/support"},{label:"testing",permalink:"/blog/tags/testing"}],readingTime:4.74,hasTruncateMarker:!0,authors:[{name:"Sarah Jamie Lewis",title:"Executive Director, Open Privacy Research Society",image_url:"/img/sarah.jpg",imageURL:"/img/sarah.jpg"}],frontMatter:{title:"Notes on Cwtch UI Testing",description:"In this development log we provide an update on automated UI integration testing!",slug:"cwtch-testing-i",tags:["cwtch","cwtch-stable","support","testing"],image:"/img/devlog5_small.png",hide_table_of_contents:!1,toc_max_heading_level:4,authors:[{name:"Sarah Jamie Lewis",title:"Executive Director, Open Privacy Research Society",image_url:"/img/sarah.jpg",imageURL:"/img/sarah.jpg"}]},unlisted:!1,prevItem:{title:"Making Cwtch Android Bindings Reproducible",permalink:"/blog/cwtch-android-reproducibility"},nextItem:{title:"Cwtch UI Platform Support",permalink:"/blog/cwtch-platform-support"}},c={authorsImageUrls:[void 0]},l=[];function p(e){const t={a:"a",img:"img",p:"p",...(0,a.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(t.p,{children:["We first ",(0,i.jsx)(t.a,{href:"https://openprivacy.ca/discreet-log/23-cucumber-testing/",children:"introduced UI tests last January"}),". At the time we had developed a suite of UI tests that could be run manually in a development environment. However, we faced a number of issues consistently running these tests in our automated pipelines."]}),"\n",(0,i.jsxs)(t.p,{children:["One of the main threads of work that needs to be complete early in the ",(0,i.jsx)(t.a,{href:"https://docs.cwtch.im/blog/path-to-cwtch-stable",children:"Cwtch Stable roadmap"})," is integrating UI tests into our CI pipelines, in addition to expanding their scope. Now that Flutter 3 has stabilized desktop support, and we have invested effort in improving Cwtch performance, it is time to ensure these tests are running on every build."]}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.img,{src:n(5930).Z+"",width:"1005",height:"481"})})]})}function g(e={}){const{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(p,{...e})}):p(e)}},5930:(e,t,n)=>{n.d(t,{Z:()=>i});const i=n.p+"assets/images/devlog5-3d09f11235d2bc53dd5e6f68d231cd53.png"},1151:(e,t,n)=>{n.d(t,{Z:()=>r,a:()=>o});var i=n(7294);const a={},s=i.createContext(a);function o(e){const t=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:o(e.components),i.createElement(s.Provider,{value:t},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.