Comments (5)
Using your project, to get the tests to run I linked the test target with LNPopupUI
:
![Screenshot 2023-05-14 at 1 57 35](https://private-user-images.githubusercontent.com/2270433/238159557-c435f9ca-2f47-40c9-95a6-0b562a045ebd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyNjQ1NTQsIm5iZiI6MTcyMTI2NDI1NCwicGF0aCI6Ii8yMjcwNDMzLzIzODE1OTU1Ny1jNDM1ZjljYS0yZjQ3LTQwYzktOTVhNi0wYjU2MmEwNDVlYmQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MThUMDA1NzM0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjBlZTc0MGUyY2QxOWU3ZjJlZjAxNjFhNzJlYTRkZDAzYzAwYWRkNzlmNjg5ZTZiMTFkMzhjNjljNDAxYzNhOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.0Ijczxl0mhbqwD76fwpgU1VqLWzvnWaoz9xRjlNzEyA)
I’m not sure why this is required. It could be an Xcode bug with how @testable import
is implemented. I’m not really familiar with how that works in Swift. I don’t think there is any misconfiguration on this project’s part, so I am closing the issue.
Thanks
from lnpopupui.
Just to confirm, this fixes the build. Thanks again!
from lnpopupui.
Just an aside, I don’t think you should be unit-testing UI. I know with SwiftUI, this is a tall order, because of model-view intertwining (terrible), but normal XCTest
is really not suited for any UI testing, nor should it be. This is a small issue. But throughout your testing, you will hit many, many issues related to expecting stuff from the system UI frameworks or their state. Just an unsolicited word of caution. 🙂
from lnpopupui.
Also, it does not matter whether LNPopupUI or LNPopupUI-Static is the dependency. Eitherway, module emitting fails because of LNPopupController_ObjC
from lnpopupui.
Thanks for the after thought, I appreciate it. I'm not testing the UI in the actual app where I first observed the issue.
from lnpopupui.
Related Issues (20)
- Change color of now playing bar background HOT 5
- popup bar and popup content can get stuck in wrong position when dismissing a modal sheet with the keyboard in a transitory state HOT 20
- iOS 15.2 has broken safe area insets under some conditions HOT 1
- LNPopupController: The popup controller is already in transition. Will ignore this transition request. HOT 2
- Using a custom view for the popup bar breaks presentation/dismiss animations HOT 4
- Run the example project HOT 1
- How to cooperate with withAnimation(...) when switching PopupOpen HOT 1
- After adding .popupBarStyle(.prominent) or .popupBarProgressViewStyle(.top) or .popupBarMarqueeScrollEnabled(true) to the View hierarchy, iOS keyboard will resign after single keypress HOT 3
- Possible regression between 1.4.0 and 1.4.1 in popupBarItems HOT 4
- Gesture Conflict HOT 3
- Interaction Style issues HOT 5
- State management breaks on quick opening/closing of the popup HOT 10
- Popover's background Scale Effect HOT 1
- Making isBarPresented = true, while its animating closed when set to false causes the popup to become bugged until open/closed again HOT 12
- Make popup image nullable
- Updating popup content while popup is closing causes popup to get stuck in a loop of closing and opening endlessly. HOT 6
- popupBarCustomView produces too much padding HOT 2
- Unable to change text attributes in .popupBarCustomizer HOT 13
- Title Marquee Seems Broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lnpopupui.