Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:ui test #197

Merged
merged 8 commits into from
Aug 11, 2023
Merged

feat:ui test #197

merged 8 commits into from
Aug 11, 2023

Conversation

cpacm
Copy link
Collaborator

@cpacm cpacm commented Aug 10, 2023

PR 内容

  1. 添加 SDK Demo 作为UI测试;
  2. PR 只会跑单元测试;
  3. 添加 label:pre release 时才会进行 UI Test.

测试步骤

影响范围

Github Action

是否属于重要变动?

其他信息

@cpacm cpacm added the pre release 发布前的测试检查 label Aug 10, 2023
@cpacm cpacm added pre release 发布前的测试检查 and removed pre release 发布前的测试检查 labels Aug 11, 2023
@cpacm cpacm added pre release 发布前的测试检查 and removed pre release 发布前的测试检查 labels Aug 11, 2023
@cpacm cpacm added pre release 发布前的测试检查 and removed pre release 发布前的测试检查 labels Aug 11, 2023
@cpacm cpacm added pre release 发布前的测试检查 and removed pre release 发布前的测试检查 labels Aug 11, 2023
@cpacm cpacm added pre release 发布前的测试检查 and removed pre release 发布前的测试检查 labels Aug 11, 2023
@cpacm cpacm added pre release 发布前的测试检查 and removed pre release 发布前的测试检查 labels Aug 11, 2023
@sonarcloud
Copy link

sonarcloud bot commented Aug 11, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 7 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 234 Code Smells

66.6% 66.6% Coverage
6.1% 6.1% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@codecov
Copy link

codecov bot commented Aug 11, 2023

Codecov Report

❗ No coverage uploaded for pull request base (feat/autotracker@0f945bf). Click here to learn what that means.
The diff coverage is n/a.

@@                 Coverage Diff                 @@
##             feat/autotracker     #197   +/-   ##
===================================================
  Coverage                    ?   67.95%           
  Complexity                  ?     2160           
===================================================
  Files                       ?      218           
  Lines                       ?     9348           
  Branches                    ?     1238           
===================================================
  Hits                        ?     6352           
  Misses                      ?     2173           
  Partials                    ?      823           

@cpacm cpacm merged commit 41f7445 into feat/autotracker Aug 11, 2023
4 of 5 checks passed
tianhui12 added a commit that referenced this pull request Dec 26, 2023
* feat: rewrite page system.

# Conflicts:
#	growingio-autotracker-core/src/main/java/com/growingio/android/sdk/autotrack/inject/ViewChangeProvider.java
#	growingio-autotracker-core/src/main/java/com/growingio/android/sdk/autotrack/inject/ViewClickProvider.java

* 1. 在新设置一个用户信息的场景时(null->userid),由之前的补发VISIT =>不再补发VISIT;
2. 打开收集数据的开关时,强制刷新Session并生成一个VISIT;
3. setLocation 接口不再补发VISIT;
4. 删除 gioid 字段;
5. 删除GlobalSequenceId字段;
6. EventSequenceId 改为全局统计,计(vst、page、click、change、custom);

* Android SDK Version Upgrade
1. targetSdkVersion -> 33
2. AGP -> 7.4.1
3. can use kotlin but may be have version conflicts;
4. use **libs.version.toml** for version control;
5. android module use namespace replace AndroidManifest.xml;
6. remove gio-sdk:autotracker-cdp and gio-sdk:tracker-cdp;
7. make gio-sdk:tracker deprecated.

* fix warning with disableAutomaticComponentCreation

* rewrite v3.0 ViewNode calculate.

* data transfer use protobuf default.
1. add JsonSerializer for event parser in apt;
2. remove ResourceItemCustomEvent.java;
3. sdk use protobuf default.

* fix event accessibility

* autotracker for v4.0.

* find content in group view

* path get alias first.

* Code Architecture Refactoring.
1. hide Provider is called and delete the singleton of the provider;
2. provider is now in TrackerContext;
3. add shutdown method;
3. user spotless format code;

* fix compiler generate

* fix page path

* page's title will auto get from toolbar.

* move getSupportToolBarTitle to autotrack

* fix eventType judge

* 1. don't replace -
2. publish xIndex to xContent

* fix expandlist path

* page add method:getClassName;
fix:tipview don't show at first time.

* feat:ui test (#197)

* add SDK demo as submodule

* update pre release action

* update runner working-directory

* add ci publishAllToMavenLocal.sh

* update uniqueTag xpath

* update uniqueTag xpath

* fix alertDialog xpath

* fix repairPid invoke before sessionProvider setup

* fix fragment page loss autotrack state.
make activity and fragment weakReference.

* test pass

* apm GMonitor need Application Context

* fix: page tree children duplicate;
fix: checkView2PageElement error;
fix: event's platform always is Android.

* fix: v3 circle select element xpath

* fix: v3 circle select element xpath

* add utilInjector

* spotlessApply

* fix hybrid test

* fix: catch InternalError when starting okhttp thread during runtime shutdown.

* add findViewNodesWithinCircle in ViewNodeRenderer class.

* feat: saas adapter (#199)

* feat: saas adapter

* fix

* fix

* feat: support bridgeWebView

* 1. HybridConfiguration post special version when is downgrade.
2. timezoneOffset is String

* fix startAfterSdkSetup method

* version 4.0.0-SNAPSHOT

* spotlessCheck

* feat: disable collection of androidId by default

* feat: disable requireAppProcesses by default

* 1. hide visitor api
2. update bom version

* fix: V4 circler use Page path replace ui

* fix: getAllWindowViews

* feat:通用属性 (#200)

* feat:setGeneralProps

* check props nullable

* rename remove props api

* fix:remove window from xpath

* rename params projectId->accountId

* make generalProp api called in SDK Main Thread.

* rename module: advert -> ads

* only post index when the value >= 0

* add isRunning method to GrowingTracker

* fix:eventBuilder NPE

* index start with -1

* fix:listview indeedindex

* fix:index start with +1

* upload index when >0

* don't support volley module anymore.

* resolve conflict

* spotless

* fix:http test error

* ci: update to java 11

* feat: abtest (#203)

* feat: abtest module

* flutter 2.0

* fix: when restart webservice reset socket state.

* feat: hybrid bridge add datasourceId

* release 4.0.0

* update android-emulator api level to 33

* update android-emulator

---------

Co-authored-by: styluo <[email protected]>
Co-authored-by: tianhui <[email protected]>
Co-authored-by: tianhui <[email protected]>
@cpacm cpacm deleted the feat/demos branch January 18, 2024 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pre release 发布前的测试检查
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant